diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-09-04 11:17:44 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-09-04 11:17:44 -0400 |
commit | 339f8e2cb2fce18f6d32b3881a5cd390c0be488e (patch) | |
tree | cb17c635d664838259e591f4b345ae6349931d49 /Classes/JumpGameMode.h | |
parent | 9f4bf94a763afba795fb991006081505c3ae466b (diff) | |
download | cartcollect-339f8e2cb2fce18f6d32b3881a5cd390c0be488e.tar.gz cartcollect-339f8e2cb2fce18f6d32b3881a5cd390c0be488e.tar.bz2 cartcollect-339f8e2cb2fce18f6d32b3881a5cd390c0be488e.zip |
Implemented Jump mode (BETA) jump
Dear god this is beta. I think I'll release a build for the testers soon so I can see what people think and then hammer out the bugs. Refs #204
Diffstat (limited to 'Classes/JumpGameMode.h')
-rw-r--r-- | Classes/JumpGameMode.h | 11 |
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 |