Chromium Code Reviews| 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 | |
|
binji
2013/02/12 23:13:25
FRONTEND_H_
Sam Clegg
2013/02/12 23:22:36
Done.
| |
| 5 #define FRONTEND_H | |
| 6 | |
| 7 #include "cocos2d.h" | |
| 8 | |
| 9 USING_NS_CC; | |
| 10 | |
| 11 /** | |
| 12 * Front end scene and layer. | |
|
noelallen1
2013/02/12 23:35:52
Don't self reference in your doc. Tell us what th
| |
| 13 */ | |
| 14 class FrontEnd : public CCLayerColor { | |
| 15 public: | |
| 16 FrontEnd() {} | |
| 17 ~FrontEnd() {} | |
| 18 CREATE_FUNC(FrontEnd); | |
|
noelallen1
2013/02/12 23:35:52
What is this macro for?
| |
| 19 virtual bool init(); | |
| 20 static CCScene* scene(); | |
| 21 | |
| 22 private: | |
| 23 // menu callbacks | |
| 24 virtual void startGame(CCObject* sender); | |
|
binji
2013/02/12 23:13:25
Is this defined in CCLayerColor or below? If not,
binji
2013/02/12 23:13:25
does this need to be virtual?
Sam Clegg
2013/02/12 23:22:36
Done.
Sam Clegg
2013/02/12 23:22:36
Done.
| |
| 25 }; | |
| 26 | |
| 27 #endif // !FRONTEND_H | |
|
noelallen1
2013/02/12 23:35:52
!FRONTEND_H, did you mean to add the !
I think the
| |
| OLD | NEW |