summary refs log tree commit diff stats
path: root/Classes/GameLayer.h
blob: e72b55124a4bea9fb1cb75ed380d9fcd3fef127c (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
39
40
41
42
43
44
45
46
47
48
49
50
//
//  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 "CocosDenshion.h"
#import "SimpleAudioEngine.h"
#import "TutorialBubble.h"
#import "MainMenuLayer.h"

#define GAME_SCENE 436
#define GAME_LAYER 437

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

@property (nonatomic,retain) TutorialBubble* currentTutorial;
+ (CCScene*)scene;
- (id)init;
- (void)updateLabels;
- (void)pause;
- (void)unpause;
- (void)mainmenu;
- (void)endTutorial;

@end