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..028db493d4b7f0d2cd86d671dad168fbe0dff732 | 
| --- /dev/null | 
| +++ b/nacltoons/src/FrontEnd.h | 
| @@ -0,0 +1,28 @@ | 
| +// Copyright (c) 2013 The Native Client 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 | 
| +#define FRONTEND_H | 
| + | 
| +#include "cocos2d.h" | 
| + | 
| +USING_NS_CC; | 
| + | 
| +/** | 
| + * Front end scene and layer. | 
| + */ | 
| +class FrontEnd : public CCLayerColor | 
| +{ | 
| 
 
binji
2013/02/12 22:51:53
nit: { on previous line
 
Sam Clegg
2013/02/12 23:07:38
Done.
 
 | 
| + public: | 
| + FrontEnd() {} | 
| + ~FrontEnd() {} | 
| + CREATE_FUNC(FrontEnd); | 
| + virtual bool init(); | 
| + static CCScene* scene(); | 
| + | 
| + private: | 
| + // menu callbacks | 
| + virtual void startGame(CCObject* sender); | 
| +}; | 
| + | 
| +#endif // !FRONTEND_H |