blob: 0d23317deb56691b2e769cdb740f7dc5ad25d3e6 (
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)accelerateGame;
- (void)randomlyAddObject:(ccTime)dt;
- (void)incrementScore;
@end
|