Chromium Code Reviews| Index: nacltoons/src/FrontEnd.h |
| diff --git a/nacltoons/src/FrontEnd.h b/nacltoons/src/FrontEnd.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9dc37d49bdf692f23f030f91c24bd9bdc6013409 |
| --- /dev/null |
| +++ b/nacltoons/src/FrontEnd.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| +#ifndef FRONTEND_H |
|
binji
2013/02/12 23:13:25
FRONTEND_H_
Sam Clegg
2013/02/12 23:22:36
Done.
|
| +#define FRONTEND_H |
| + |
| +#include "cocos2d.h" |
| + |
| +USING_NS_CC; |
| + |
| +/** |
| + * Front end scene and layer. |
|
noelallen1
2013/02/12 23:35:52
Don't self reference in your doc. Tell us what th
|
| + */ |
| +class FrontEnd : public CCLayerColor { |
| + public: |
| + FrontEnd() {} |
| + ~FrontEnd() {} |
| + CREATE_FUNC(FrontEnd); |
|
noelallen1
2013/02/12 23:35:52
What is this macro for?
|
| + virtual bool init(); |
| + static CCScene* scene(); |
| + |
| + private: |
| + // menu callbacks |
| + 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.
|
| +}; |
| + |
| +#endif // !FRONTEND_H |
|
noelallen1
2013/02/12 23:35:52
!FRONTEND_H, did you mean to add the !
I think the
|