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/ClassicGameMode.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/ClassicGameMode.h')
-rwxr-xr-x | Classes/ClassicGameMode.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Classes/ClassicGameMode.h b/Classes/ClassicGameMode.h new file mode 100755 index 0000000..bbce029 --- /dev/null +++ b/Classes/ClassicGameMode.h | |||
@@ -0,0 +1,20 @@ | |||
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 "GameMode.h" | ||
12 | |||
13 | @interface ClassicGameMode : GameMode { | ||
14 | float addSpeed; | ||
15 | } | ||
16 | |||
17 | - (id)init; | ||
18 | - (void)randomlyAddObject:(ccTime)dt; | ||
19 | |||
20 | @end | ||