Index: nacltoons/src/ui_layer.h |
diff --git a/nacltoons/src/gameplay_scene.h b/nacltoons/src/ui_layer.h |
similarity index 54% |
rename from nacltoons/src/gameplay_scene.h |
rename to nacltoons/src/ui_layer.h |
index acd561e0593a36f73d49c596238bc153b9f9e2c0..fe78aa2948ae62ad2b9965dc35f21af7764e4c90 100644 |
--- a/nacltoons/src/gameplay_scene.h |
+++ b/nacltoons/src/ui_layer.h |
@@ -1,31 +1,14 @@ |
// 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 GAMEPLAY_SCENE_H_ |
-#define GAMEPLAY_SCENE_H_ |
+#ifndef UI_LAYER_H_ |
+#define UI_LAYER_H_ |
#include "cocos2d.h" |
USING_NS_CC; |
/** |
- * Main gameplay scene containing the physics layer |
- * that the user can interact with and a UI layer over |
- * the top for menus. |
- */ |
-class GameplayScene : public CCScene { |
- public: |
- GameplayScene(int level_number) : level_number_(level_number) {} |
- ~GameplayScene() {} |
- static GameplayScene* create(int level_number); |
- virtual bool init(); |
- void Restart(); |
- void GameOver(bool success); |
- private: |
- int level_number_; |
-}; |
- |
-/** |
* UI layer for displaying menu and information overlays on |
* top of the running game. |
*/ |
@@ -44,4 +27,4 @@ class UILayer : public CCLayer { |
void Exit(CCObject* sender); |
}; |
-#endif // GAMEPLAY_SCENE_H_ |
+#endif // UI_LAYER_H_ |