OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium 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 public: | |
16 FrontEnd() {} | |
17 ~FrontEnd() {} | |
18 CREATE_FUNC(FrontEnd); | |
19 virtual bool init(); | |
20 static CCScene* scene(); | |
21 | |
22 private: | |
23 // menu callbacks | |
24 void StartGame(CCObject* sender); | |
25 }; | |
26 | |
27 #endif // !FRONTEND_H_ | |
OLD | NEW |