diff options
Diffstat (limited to 'Classes/JumpGameMode.h')
| -rw-r--r-- | Classes/JumpGameMode.h | 32 |
1 files changed, 32 insertions, 0 deletions
| diff --git a/Classes/JumpGameMode.h b/Classes/JumpGameMode.h new file mode 100644 index 0000000..f6a31f8 --- /dev/null +++ b/Classes/JumpGameMode.h | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | // | ||
| 2 | // JumpGameMode.h | ||
| 3 | // Cart Collect | ||
| 4 | // | ||
| 5 | // Created by Starla Insigna on 8/17/11. | ||
| 6 | // Copyright 2011 Four Island. All rights reserved. | ||
| 7 | // | ||
| 8 | |||
| 9 | #import "GameMode.h" | ||
| 10 | |||
| 11 | @class LedgeFactory; | ||
| 12 | |||
| 13 | @interface JumpGameMode : GameMode <CCStandardTouchDelegate> { | ||
| 14 | CCSprite* water; | ||
| 15 | int waterTick; | ||
| 16 | BOOL wave; | ||
| 17 | CGPoint gestureStartPoint; | ||
| 18 | int jumpTick; | ||
| 19 | BOOL jump; | ||
| 20 | float expectedAngle; | ||
| 21 | NSMutableSet* ledges; | ||
| 22 | LedgeFactory* factory; | ||
| 23 | int ledgeScrollSpeed; | ||
| 24 | float ledgeAccelerationRate; | ||
| 25 | float addSpeed; | ||
| 26 | } | ||
| 27 | |||
| 28 | - (void)accelerateLedgeScrolling; | ||
| 29 | - (void)randomlyAddObject:(ccTime)dt; | ||
| 30 | - (void)incrementScore; | ||
| 31 | |||
| 32 | @end | ||
