Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 34 lines (27 sloc) 1010 Bytes
//
// MultiLayerScene.h
// ScenesAndLayers
//
// Created by Steffen Itterheim on 28.07.10.
// Copyright 2010 Steffen Itterheim. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "cocos2d.h"
// Using an enum to define tag values has the upside that you can select
// Class forwards: if a class is used in a header file only to define a member variable or return value,
// then it's more effective to use the @class keyword rather than #import the class header file.
// When projects grow large this helps to reduce the time it takes to compile the project.
@interface CurrentLevel : NSObject
{
NSNumber *levelNumber;
NSNumber *currentScore;
NSMutableArray *idxArray;
}
// Accessor methods to access the various layers of this scene
+(CurrentLevel*) sharedCurrentLevel;
-(void)incrementScore;
-(void)initIdxArray;
@property (nonatomic,retain) NSNumber *levelNumber;
@property (nonatomic,retain) NSNumber *currentScore;
@property (nonatomic,retain) NSMutableArray *idxArray;
@end