diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-08-12 09:51:50 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-08-12 09:51:50 -0400 |
commit | d19677f9f73d8fe7436982bdf8d40f69d69d1b43 (patch) | |
tree | 74853f369ef51bc9f9f595ff31153ce1a718e651 /Classes/GameLayer.h | |
parent | 07f40d804de35d1cead13217c448811e774e6e67 (diff) | |
download | cartcollect-d19677f9f73d8fe7436982bdf8d40f69d69d1b43.tar.gz cartcollect-d19677f9f73d8fe7436982bdf8d40f69d69d1b43.tar.bz2 cartcollect-d19677f9f73d8fe7436982bdf8d40f69d69d1b43.zip |
Added tutorial mode
GameLayer was also renamed to ClassicGameMode and its pause functionality and score/lives counters were moved out to GameMode. FallingObjectDelegate was created to allow for custom code to be run when items were caught/missed, something that is used extensively by tutorial mode. Important: Cart Collect's bundle identifier was changed in this revision from com.fourisland.Cart-Collect to com.apatheticink.Cart-Collect, so ensure that before attempting to compile/run this build, you clear your build directory and remove the old version of Cart Collect from your device. Closes #193
Diffstat (limited to 'Classes/GameLayer.h')
-rwxr-xr-x | Classes/GameLayer.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/Classes/GameLayer.h b/Classes/GameLayer.h deleted file mode 100755 index 128cbf2..0000000 --- a/Classes/GameLayer.h +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | // | ||
2 | // GameLayer.h | ||
3 | // Cart Collect | ||
4 | // | ||
5 | // Created by iD Student Account on 7/18/11. | ||
6 | // Copyright 2011 __MyCompanyName__. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #import <Foundation/Foundation.h> | ||
10 | #import "cocos2d.h" | ||
11 | #import "TutorialBubble.h" | ||
12 | #import "GameMode.h" | ||
13 | |||
14 | @interface GameLayer : GameMode { | ||
15 | CCLabelBMFont* scoreLabel; | ||
16 | CCLabelBMFont* livesLabel; | ||
17 | float addSpeed; | ||
18 | TutorialBubble* currentTutorial; | ||
19 | |||
20 | CCLayerColor* shadedLayer; | ||
21 | CCLayer* pauseLayer; | ||
22 | } | ||
23 | |||
24 | @property (nonatomic,retain) TutorialBubble* currentTutorial; | ||
25 | - (id)init; | ||
26 | - (void)pause; | ||
27 | - (void)unpause; | ||
28 | - (void)mainmenu; | ||
29 | - (void)endTutorial; | ||
30 | |||
31 | @end | ||