summary refs log tree commit diff stats
path: root/Classes/MainMenuLayer.m
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-08-23 09:35:16 -0400
committerStarla Insigna <starla4444@gmail.com>2011-08-23 09:35:16 -0400
commit887e595136e71f52ea585f17d73e5ac3baefb7eb (patch)
treecc097b2bb119456878687af6c757ee8bc12e09be /Classes/MainMenuLayer.m
parent02d9a87417837ffda602b2d06c2c6897d15a1202 (diff)
parent3caffadb393cada7d9bbc433e0c96e6650ed873a (diff)
downloadcartcollect-887e595136e71f52ea585f17d73e5ac3baefb7eb.tar.gz
cartcollect-887e595136e71f52ea585f17d73e5ac3baefb7eb.tar.bz2
cartcollect-887e595136e71f52ea585f17d73e5ac3baefb7eb.zip
Pulled in level selection screen (version 0.3) v0.3
Closes #207
Diffstat (limited to 'Classes/MainMenuLayer.m')
-rwxr-xr-xClasses/MainMenuLayer.m11
1 files changed, 9 insertions, 2 deletions
diff --git a/Classes/MainMenuLayer.m b/Classes/MainMenuLayer.m index 06a528c..d4a6331 100755 --- a/Classes/MainMenuLayer.m +++ b/Classes/MainMenuLayer.m
@@ -10,6 +10,7 @@
10#import "HighscoreListController.h" 10#import "HighscoreListController.h"
11#import "GameModeSelectionLayer.h" 11#import "GameModeSelectionLayer.h"
12#import "Cart_CollectAppDelegate.h" 12#import "Cart_CollectAppDelegate.h"
13#import "TestFlight.h"
13 14
14@implementation MainMenuLayer 15@implementation MainMenuLayer
15 16
@@ -45,8 +46,9 @@
45 46
46 CCMenuItemImage* newgameMenuItem = [CCMenuItemImage itemFromNormalImage:@"newgame.png" selectedImage:@"newgame2.png" target:self selector:@selector(newgame)]; 47 CCMenuItemImage* newgameMenuItem = [CCMenuItemImage itemFromNormalImage:@"newgame.png" selectedImage:@"newgame2.png" target:self selector:@selector(newgame)];
47 CCMenuItemImage* highscoresMenuItem = [CCMenuItemImage itemFromNormalImage:@"highscores.png" selectedImage:@"highscores2.png" target:self selector:@selector(highscores)]; 48 CCMenuItemImage* highscoresMenuItem = [CCMenuItemImage itemFromNormalImage:@"highscores.png" selectedImage:@"highscores2.png" target:self selector:@selector(highscores)];
48 49 CCMenuItemImage* feedbackMenuItem = [CCMenuItemImage itemFromNormalImage:@"feedback.png" selectedImage:@"feedback2.png" target:self selector:@selector(feedback)];
49 CCMenu* menu = [CCMenu menuWithItems:newgameMenuItem, highscoresMenuItem, nil]; 50
51 CCMenu* menu = [CCMenu menuWithItems:newgameMenuItem, highscoresMenuItem, feedbackMenuItem, nil];
50 [menu alignItemsVertically]; 52 [menu alignItemsVertically];
51 menu.position = ccp(240, 100); 53 menu.position = ccp(240, 100);
52 [self addChild:menu]; 54 [self addChild:menu];
@@ -68,4 +70,9 @@
68 [listController release]; 70 [listController release];
69} 71}
70 72
73- (void)feedback
74{
75 [TestFlight openFeedbackView];
76}
77
71@end 78@end