summary refs log tree commit diff stats
path: root/Classes
diff options
context:
space:
mode:
Diffstat (limited to 'Classes')
-rw-r--r--Classes/GameModeSelectionLayer.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Classes/GameModeSelectionLayer.m b/Classes/GameModeSelectionLayer.m index 7b97e11..a12d435 100644 --- a/Classes/GameModeSelectionLayer.m +++ b/Classes/GameModeSelectionLayer.m
@@ -13,6 +13,7 @@
13#import "MainMenuLayer.h" 13#import "MainMenuLayer.h"
14#import "TutorialMode.h" 14#import "TutorialMode.h"
15#import "ClassicGameMode.h" 15#import "ClassicGameMode.h"
16#import "NMPanelMenu.h"
16 17
17@implementation GameModeSelectionLayer 18@implementation GameModeSelectionLayer
18 19
@@ -98,7 +99,7 @@
98 [scrollView setContentOffset:CGPointMake(currentWorldOffset*totalPanelWidth+1,0) animated:NO]; 99 [scrollView setContentOffset:CGPointMake(currentWorldOffset*totalPanelWidth+1,0) animated:NO];
99 100
100 CCMenuItemImage* newgameMenuItem = [CCMenuItemImage itemFromNormalImage:@"back.png" selectedImage:@"back2.png" target:self selector:@selector(mainmenu)]; 101 CCMenuItemImage* newgameMenuItem = [CCMenuItemImage itemFromNormalImage:@"back.png" selectedImage:@"back2.png" target:self selector:@selector(mainmenu)];
101 CCMenu* myMenu = [CCMenu menuWithItems:newgameMenuItem, nil]; 102 NMPanelMenu* myMenu = [NMPanelMenu menuWithItems:newgameMenuItem, nil];
102 myMenu.position = ccp(240, 30); 103 myMenu.position = ccp(240, 30);
103 [self addChild:myMenu]; 104 [self addChild:myMenu];
104 } 105 }