Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(761)

Side by Side Diff: nacltoons/src/FrontEnd.h

Issue 12226130: [nacltoons] Add initial frontend and physics game scenes. (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: fix style nits Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698