blob: f6a31f8f0583cabfbddcc5ef1b78b71c9d9755d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
//
// JumpGameMode.h
// Cart Collect
//
// Created by Starla Insigna on 8/17/11.
// Copyright 2011 Four Island. All rights reserved.
//
#import "GameMode.h"
@class LedgeFactory;
@interface JumpGameMode : GameMode <CCStandardTouchDelegate> {
CCSprite* water;
int waterTick;
BOOL wave;
CGPoint gestureStartPoint;
int jumpTick;
BOOL jump;
float expectedAngle;
NSMutableSet* ledges;
LedgeFactory* factory;
int ledgeScrollSpeed;
float ledgeAccelerationRate;
float addSpeed;
}
- (void)accelerateLedgeScrolling;
- (void)randomlyAddObject:(ccTime)dt;
- (void)incrementScore;
@end
|