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

Unified Diff: nacltoons/src/gameplay_scene.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
« no previous file with comments | « nacltoons/src/game_manager.cc ('k') | nacltoons/src/gameplay_scene.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nacltoons/src/gameplay_scene.h
diff --git a/nacltoons/src/gameplay_scene.h b/nacltoons/src/gameplay_scene.h
deleted file mode 100644
index acd561e0593a36f73d49c596238bc153b9f9e2c0..0000000000000000000000000000000000000000
--- a/nacltoons/src/gameplay_scene.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// 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_
-
-#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.
- */
-class UILayer : public CCLayer {
- public:
- UILayer() {}
- ~UILayer() {}
- // add static create() method which encapsulates new + init
- CREATE_FUNC(UILayer);
- virtual bool init();
-
- private:
- // menu callbacks
- void ToggleDebug(CCObject* sender);
- void Restart(CCObject* sender);
- void Exit(CCObject* sender);
-};
-
-#endif // GAMEPLAY_SCENE_H_
« no previous file with comments | « nacltoons/src/game_manager.cc ('k') | nacltoons/src/gameplay_scene.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698