diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-08-17 19:54:25 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-08-17 19:54:25 -0400 |
commit | 4d94802036a53e6ec246ab0abac17fd76d17c885 (patch) | |
tree | 7e19df50363755707b7e7907117888146abc2377 /Classes/JumpGameMode.h | |
parent | fee8d3506b4c2f6d5933a85181de9bb8e6f5fcc4 (diff) | |
download | cartcollect-4d94802036a53e6ec246ab0abac17fd76d17c885.tar.gz cartcollect-4d94802036a53e6ec246ab0abac17fd76d17c885.tar.bz2 cartcollect-4d94802036a53e6ec246ab0abac17fd76d17c885.zip |
Started Jump game mode
So far, Jump exists as a blank world where the player can control the cart (including the ability to jump by swiping upwards) and where the water level rises for a bit and then falls, taking the cart with it. Refs #204
Diffstat (limited to 'Classes/JumpGameMode.h')
-rw-r--r-- | Classes/JumpGameMode.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Classes/JumpGameMode.h b/Classes/JumpGameMode.h new file mode 100644 index 0000000..7b7dff4 --- /dev/null +++ b/Classes/JumpGameMode.h | |||
@@ -0,0 +1,21 @@ | |||
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 | @interface JumpGameMode : GameMode <CCStandardTouchDelegate> { | ||
12 | CCSprite* water; | ||
13 | int waterTick; | ||
14 | BOOL wave; | ||
15 | CGPoint gestureStartPoint; | ||
16 | int jumpTick; | ||
17 | BOOL jump; | ||
18 | float swipeVarianceModifer; | ||
19 | } | ||
20 | |||
21 | @end | ||