diff options
Diffstat (limited to 'Classes/GameMode.h')
| -rw-r--r-- | Classes/GameMode.h | 3 |
1 files changed, 2 insertions, 1 deletions
| diff --git a/Classes/GameMode.h b/Classes/GameMode.h index cd0359d..cd41884 100644 --- a/Classes/GameMode.h +++ b/Classes/GameMode.h | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | #import "CCLayer.h" | 9 | #import "CCLayer.h" |
| 10 | #import "Cart.h" | 10 | #import "Cart.h" |
| 11 | #import "FallingObjectFactory.h" | 11 | #import "FallingObjectFactory.h" |
| 12 | #import "GameModeInfo.h" | ||
| 12 | 13 | ||
| 13 | #define GAME_SCENE 436 | 14 | #define GAME_SCENE 436 |
| 14 | #define GAME_LAYER 437 | 15 | #define GAME_LAYER 437 |
| @@ -37,7 +38,6 @@ | |||
| 37 | @property (nonatomic,assign) int lives; | 38 | @property (nonatomic,assign) int lives; |
| 38 | @property (nonatomic,assign) int pointMultiplier; | 39 | @property (nonatomic,assign) int pointMultiplier; |
| 39 | @property (readonly) BOOL isPaused; | 40 | @property (readonly) BOOL isPaused; |
| 40 | + (CCScene*)scene; | ||
| 41 | - (void)tick:(ccTime)dt; | 41 | - (void)tick:(ccTime)dt; |
| 42 | - (BOOL)canPause; | 42 | - (BOOL)canPause; |
| 43 | - (void)pause; | 43 | - (void)pause; |
| @@ -45,5 +45,6 @@ | |||
| 45 | - (void)mainmenu; | 45 | - (void)mainmenu; |
| 46 | - (void)scheduleDelayedAction:(void(^)(void))delayedAction delay:(float)delay; | 46 | - (void)scheduleDelayedAction:(void(^)(void))delayedAction delay:(float)delay; |
| 47 | - (void)runDelayedAction; | 47 | - (void)runDelayedAction; |
| 48 | + (GameModeInfo*)info; | ||
| 48 | 49 | ||
| 49 | @end | 50 | @end |
