Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #import "GameScene.h"
00011
00012 @implementation GameScene
00013
00014 #pragma mark -
00015 #pragma mark Initialisation
00016
00021 -(id)init
00022 {
00023 self = [super init];
00024
00025 if (self != nil)
00026 {
00027
00028 BackgroundLayer *backgroundLayer = [BackgroundLayer node];
00029 [self addChild:backgroundLayer z:0];
00030
00031
00032 GameplayLayer *gameplayLayer = [GameplayLayer node];
00033 [self addChild:gameplayLayer z:10];
00034 }
00035
00036 return self;
00037 }
00038
00039 @end