summary refs log tree commit diff stats
path: root/Classes/JumpGameMode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/JumpGameMode.h')
-rw-r--r--Classes/JumpGameMode.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Classes/JumpGameMode.h b/Classes/JumpGameMode.h index 9753720..f6a31f8 100644 --- a/Classes/JumpGameMode.h +++ b/Classes/JumpGameMode.h
@@ -8,6 +8,8 @@
8 8
9#import "GameMode.h" 9#import "GameMode.h"
10 10
11@class LedgeFactory;
12
11@interface JumpGameMode : GameMode <CCStandardTouchDelegate> { 13@interface JumpGameMode : GameMode <CCStandardTouchDelegate> {
12 CCSprite* water; 14 CCSprite* water;
13 int waterTick; 15 int waterTick;
@@ -16,6 +18,15 @@
16 int jumpTick; 18 int jumpTick;
17 BOOL jump; 19 BOOL jump;
18 float expectedAngle; 20 float expectedAngle;
21 NSMutableSet* ledges;
22 LedgeFactory* factory;
23 int ledgeScrollSpeed;
24 float ledgeAccelerationRate;
25 float addSpeed;
19} 26}
20 27
28- (void)accelerateLedgeScrolling;
29- (void)randomlyAddObject:(ccTime)dt;
30- (void)incrementScore;
31
21@end 32@end