summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-08-23 12:29:26 -0400
committerStarla Insigna <starla4444@gmail.com>2011-08-23 12:29:26 -0400
commit6b7e5a28aa9c52c5b689860a7c51de04ee5489c1 (patch)
tree25e5572a5117233060fe7e0750f5d7ebea884fbe
parent1b5dccf63ed1d442e7d8e7538f2adfe07351dfaf (diff)
downloadcartcollect-6b7e5a28aa9c52c5b689860a7c51de04ee5489c1.tar.gz
cartcollect-6b7e5a28aa9c52c5b689860a7c51de04ee5489c1.tar.bz2
cartcollect-6b7e5a28aa9c52c5b689860a7c51de04ee5489c1.zip
Fixed level selection screen Main Menu button
Fixes #209
-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 }