summary refs log tree commit diff stats
path: root/Classes/MainMenuLayer.m
diff options
context:
space:
mode:
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