diff options
Diffstat (limited to 'Classes/GameMode.h')
| -rw-r--r-- | Classes/GameMode.h | 19 |
1 files changed, 17 insertions, 2 deletions
| diff --git a/Classes/GameMode.h b/Classes/GameMode.h index bd47c90..370550c 100644 --- a/Classes/GameMode.h +++ b/Classes/GameMode.h | |||
| @@ -17,11 +17,26 @@ | |||
| 17 | int score; | 17 | int score; |
| 18 | int lives; | 18 | int lives; |
| 19 | Cart* cart; | 19 | Cart* cart; |
| 20 | |||
| 21 | CCLayerColor* shadedLayer; | ||
| 22 | CCLayer* pauseLayer; | ||
| 23 | |||
| 24 | CCLabelBMFont* scoreLabel; | ||
| 25 | CCLabelBMFont* livesLabel; | ||
| 26 | |||
| 27 | void (^delayedAction)(void); | ||
| 20 | } | 28 | } |
| 21 | 29 | ||
| 22 | @property (readonly) Cart* cart; | 30 | @property (readonly) Cart* cart; |
| 23 | @property (assign) int score; | 31 | @property (nonatomic,assign) int score; |
| 24 | @property (assign) int lives; | 32 | @property (nonatomic,assign) int lives; |
| 33 | + (CCScene*)scene; | ||
| 25 | - (void)tick:(ccTime)dt; | 34 | - (void)tick:(ccTime)dt; |
| 35 | - (BOOL)canPause; | ||
| 36 | - (void)pause; | ||
| 37 | - (void)unpause; | ||
| 38 | - (void)mainmenu; | ||
| 39 | - (void)scheduleDelayedAction:(void(^)(void))delayedAction delay:(float)delay; | ||
| 40 | - (void)runDelayedAction; | ||
| 26 | 41 | ||
| 27 | @end | 42 | @end |
