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

Unified Diff: nacltoons/src/ui_layer.h

Issue 12579005: [nacltoons] Rename core classes in accordance with doc. (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 9 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
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_

Powered by Google App Engine
This is Rietveld 408576698