summary refs log tree commit diff stats
path: root/Classes/MainMenuLayer.m
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-08-22 11:13:42 -0400
committerStarla Insigna <starla4444@gmail.com>2011-08-22 11:13:42 -0400
commit3caffadb393cada7d9bbc433e0c96e6650ed873a (patch)
tree1c2f89dfe20dc11dfe945683c8b1bc3190069fc1 /Classes/MainMenuLayer.m
parent6906cf0ce4f8266173d67a7b9fccc56747d5d618 (diff)
downloadcartcollect-3caffadb393cada7d9bbc433e0c96e6650ed873a.tar.gz
cartcollect-3caffadb393cada7d9bbc433e0c96e6650ed873a.tar.bz2
cartcollect-3caffadb393cada7d9bbc433e0c96e6650ed873a.zip
Integrated TestFlight SDK
See https://testflightapp.com/sdk/doc/
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