www.pudn.com > Simple-shooting-game.zip > GameScene.h, change:2012-02-07,size:992b


//
//  GameScene.h
//  Cocos2DGame
//
//  Created by iii on 12/31/11.
//  Copyright (c) 2011 千锋3G www.mobiletrain.org. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"



@interface GameScene : CCLayer
{
    CCSprite * _player;
    NSMutableArray * _targetArray;
    NSMutableArray * _bulletArray;
    CCLabelTTF * killMi;
    CCLabelTTF * lostMi;
    int killCounts;
    int lostCounts;
    int killAllTargetcounts;
    CCLabelTTF * killAllcount;
    int flag;
    float speedNow;

}


@property (nonatomic, retain)CCSprite * player;
@property (nonatomic, retain)NSMutableArray * targetArray;
@property (nonatomic, retain)NSMutableArray * bulletArray;
@property (nonatomic, retain)CCLabelTTF * killMi;
@property (nonatomic, retain)CCLabelTTF * lostMi;
@property (nonatomic, retain)CCLabelTTF * killAllcount;

+(id)scene;

-(void)startGame;
-(void)addTarget;

-(void)showScore;

-(void)restartMenu;
-(void)setSpeed;
-(void)nextMenu;
-(void)theLastMenu;
@end