summary refs log tree commit diff stats
path: root/Classes/ClassicGameMode.m
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-08-15 14:47:39 -0400
committerStarla Insigna <starla4444@gmail.com>2011-08-15 14:47:39 -0400
commitc55c499656ed089df63b049979487e9af9d109d6 (patch)
treea07f86c4630ad35e10304c50c6ef562f56424c91 /Classes/ClassicGameMode.m
parent4457e0ce5099a81f8e6a366e353561b886725532 (diff)
downloadcartcollect-c55c499656ed089df63b049979487e9af9d109d6.tar.gz
cartcollect-c55c499656ed089df63b049979487e9af9d109d6.tar.bz2
cartcollect-c55c499656ed089df63b049979487e9af9d109d6.zip
Fixed game over transition
Fixes #189
Diffstat (limited to 'Classes/ClassicGameMode.m')
-rwxr-xr-xClasses/ClassicGameMode.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Classes/ClassicGameMode.m b/Classes/ClassicGameMode.m index eb766a1..88c52ce 100755 --- a/Classes/ClassicGameMode.m +++ b/Classes/ClassicGameMode.m
@@ -12,7 +12,7 @@
12#import "Bottle.h" 12#import "Bottle.h"
13#import "OneUp.h" 13#import "OneUp.h"
14#import "Rock.h" 14#import "Rock.h"
15#import "GameOverLayer.h" 15#import "GameOverScene.h"
16#import "SimpleAudioEngine.h" 16#import "SimpleAudioEngine.h"
17 17
18@implementation ClassicGameMode 18@implementation ClassicGameMode
@@ -27,7 +27,7 @@
27 { 27 {
28 [self unscheduleAllSelectors]; 28 [self unscheduleAllSelectors];
29 29
30 [[CCDirector sharedDirector] replaceScene:[CCTransitionSlideInT transitionWithDuration:1.5f scene:[GameOverLayer sceneWithScore:score]]]; 30 [[CCDirector sharedDirector] replaceScene:[CCTransitionSlideInT transitionWithDuration:1.5f scene:[GameOverScene sceneWithScore:score]]];
31 } else if (score > lastScore) 31 } else if (score > lastScore)
32 { 32 {
33 if ((lastScore < 6500) && (score >= 6500)) 33 if ((lastScore < 6500) && (score >= 6500))