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 8b21fab..32b85cb 100755 --- a/Classes/MainMenuLayer.m +++ b/Classes/MainMenuLayer.m
@@ -11,6 +11,7 @@
11#import "ClassicGameMode.h" 11#import "ClassicGameMode.h"
12#import "TutorialMode.h" 12#import "TutorialMode.h"
13#import "Cart_CollectAppDelegate.h" 13#import "Cart_CollectAppDelegate.h"
14#import "TestFlight.h"
14 15
15@implementation MainMenuLayer 16@implementation MainMenuLayer
16 17
@@ -47,8 +48,9 @@
47 CCMenuItemImage* newgameMenuItem = [CCMenuItemImage itemFromNormalImage:@"newgame.png" selectedImage:@"newgame2.png" target:self selector:@selector(newgame)]; 48 CCMenuItemImage* newgameMenuItem = [CCMenuItemImage itemFromNormalImage:@"newgame.png" selectedImage:@"newgame2.png" target:self selector:@selector(newgame)];
48 CCMenuItemImage* tutorialMenuItem = [CCMenuItemImage itemFromNormalImage:@"tutorial.png" selectedImage:@"tutorial2.png" target:self selector:@selector(tutorial)]; 49 CCMenuItemImage* tutorialMenuItem = [CCMenuItemImage itemFromNormalImage:@"tutorial.png" selectedImage:@"tutorial2.png" target:self selector:@selector(tutorial)];
49 CCMenuItemImage* highscoresMenuItem = [CCMenuItemImage itemFromNormalImage:@"highscores.png" selectedImage:@"highscores2.png" target:self selector:@selector(highscores)]; 50 CCMenuItemImage* highscoresMenuItem = [CCMenuItemImage itemFromNormalImage:@"highscores.png" selectedImage:@"highscores2.png" target:self selector:@selector(highscores)];
50 51 CCMenuItemImage* feedbackMenuItem = [CCMenuItemImage itemFromNormalImage:@"feedback.png" selectedImage:@"feedback2.png" target:self selector:@selector(feedback)];
51 CCMenu* menu = [CCMenu menuWithItems:newgameMenuItem, tutorialMenuItem, highscoresMenuItem, nil]; 52
53 CCMenu* menu = [CCMenu menuWithItems:newgameMenuItem, tutorialMenuItem, highscoresMenuItem, feedbackMenuItem, nil];
52 [menu alignItemsVertically]; 54 [menu alignItemsVertically];
53 menu.position = ccp(240, 100); 55 menu.position = ccp(240, 100);
54 [self addChild:menu]; 56 [self addChild:menu];
@@ -75,4 +77,9 @@
75 [listController release]; 77 [listController release];
76} 78}
77 79
80- (void)feedback
81{
82 [TestFlight openFeedbackView];
83}
84
78@end 85@end