blob: 0b6c5d2e74d7ff74c29153c0af96882419fe0346 (
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
33
|
//
// 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;
BOOL isGesturing;
CGPoint gestureStartPoint;
int jumpTick;
BOOL jump;
float expectedAngle;
NSMutableSet* ledges;
LedgeFactory* factory;
int ledgeScrollSpeed;
float ledgeAccelerationRate;
float addSpeed;
}
- (void)accelerateGame;
- (void)randomlyAddObject:(ccTime)dt;
- (void)incrementScore;
@end
|