summary refs log tree commit diff stats
path: root/Classes/GameLayer.h
blob: 88a1406f9a1cf284a145b135aa42ea66f88b0e0a (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
34
35
36
37
38
//
//  GameLayer.h
//  Cart Collect
//
//  Created by iD Student Account on 7/18/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "FallingObject.h"
#import "Cherry.h"
#import "Bottle.h"
#import "OneUp.h"
#import "Rock.h"
#import "GameOverLayer.h"
#import "ValuableObject.h"
#import "PauseLayer.h"
#import "CocosDenshion.h"
#import "SimpleAudioEngine.h"

@interface GameLayer : CCLayer {
	NSMutableSet* objects;
	float accelX;
	CCLabelBMFont* scoreLabel;
	CCLabelBMFont* livesLabel;
	int score;
	int lives;
	float addSpeed;
    CCSprite* cartSprite;
}

+ (CCScene*)scene;
- (id)init;
- (void)updateLabels;
- (void)pause;

@end