Permalink
Browse files

formatting.

  • Loading branch information...
1 parent 584b8ac commit 74d48f3f35e712cb5349b9dda5d5cadf4c454660 Martin Grider committed May 1, 2011
Showing with 6 additions and 5 deletions.
  1. +6 −5 Classes/TetrisDemoCCMenu.m
View
@@ -22,7 +22,8 @@ -(id) init
target:self selector:@selector(openHelloWorld)];
CCMenu *menu = [CCMenu menuWithItems:helloWorld, nil];
menu.position = ccp(44, 440);
- [self addChild:menu z:2]; }
+ [self addChild:menu z:2];
+ }
}
@@ -39,16 +40,16 @@ +(CCScene *) scene
{
// 'scene' is an autorelease object.
CCScene *scene = [CCScene node];
-
+
// 'layer' is an autorelease object.
TetrisDemoCCMenu *layer = [TetrisDemoCCMenu node];
-
+
// add layer as a child to scene
[scene addChild:layer];
-
+
// return the scene
return scene;
}
-@end
+@end

0 comments on commit 74d48f3

Please sign in to comment.