OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Native Client Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 #ifndef FRONTEND_H | |
5 #define FRONTEND_H | |
6 | |
7 #include "cocos2d.h" | |
8 | |
9 USING_NS_CC; | |
10 | |
11 /** | |
12 * Front end scene and layer. | |
13 */ | |
14 class FrontEnd : public CCLayerColor | |
15 { | |
binji
2013/02/12 22:51:53
nit: { on previous line
Sam Clegg
2013/02/12 23:07:38
Done.
| |
16 public: | |
17 FrontEnd() {} | |
18 ~FrontEnd() {} | |
19 CREATE_FUNC(FrontEnd); | |
20 virtual bool init(); | |
21 static CCScene* scene(); | |
22 | |
23 private: | |
24 // menu callbacks | |
25 virtual void startGame(CCObject* sender); | |
26 }; | |
27 | |
28 #endif // !FRONTEND_H | |
OLD | NEW |