From 9cd57b731ab1c666d4a1cb725538fdc137763d12 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sat, 30 Jul 2011 11:19:14 -0400 Subject: Initial commit (version 0.2.1) --- Classes/GameLayer.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 Classes/GameLayer.h (limited to 'Classes/GameLayer.h') diff --git a/Classes/GameLayer.h b/Classes/GameLayer.h new file mode 100755 index 0000000..88a1406 --- /dev/null +++ b/Classes/GameLayer.h @@ -0,0 +1,38 @@ +// +// GameLayer.h +// Cart Collect +// +// Created by iD Student Account on 7/18/11. +// Copyright 2011 __MyCompanyName__. All rights reserved. +// + +#import +#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 -- cgit 1.4.1