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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nacltoons/src/AppDelegate.cc ('k') | nacltoons/src/FrontEnd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nacltoons/src/FrontEnd.h
diff --git a/nacltoons/src/FrontEnd.h b/nacltoons/src/FrontEnd.h
new file mode 100644
index 0000000000000000000000000000000000000000..d77576db7ca50b526db112318fc421549114987c
--- /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_
+#define FRONTEND_H_
+
+#include "cocos2d.h"
+
+USING_NS_CC;
+
+/**
+ * Front end scene and layer.
+ */
+class FrontEnd : public CCLayerColor {
+ public:
+ FrontEnd() {}
+ ~FrontEnd() {}
+ CREATE_FUNC(FrontEnd);
+ virtual bool init();
+ static CCScene* scene();
+
+ private:
+ // menu callbacks
+ void StartGame(CCObject* sender);
+};
+
+#endif // !FRONTEND_H_
« no previous file with comments | « nacltoons/src/AppDelegate.cc ('k') | nacltoons/src/FrontEnd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698