Index: nacltoons/src/level_layer.h |
diff --git a/nacltoons/src/physics_layer.h b/nacltoons/src/level_layer.h |
similarity index 89% |
rename from nacltoons/src/physics_layer.h |
rename to nacltoons/src/level_layer.h |
index d2e8013360a36e3eabefe76b6eb385ee93c1db6d..125fa934f2901f7ab722c9c44336f228882eb597 100644 |
--- a/nacltoons/src/physics_layer.h |
+++ b/nacltoons/src/level_layer.h |
@@ -1,8 +1,8 @@ |
// 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 PHYSICS_LAYER_H_ |
-#define PHYSICS_LAYER_H_ |
+#ifndef LEVEL_LAYER_H_ |
+#define LEVEL_LAYER_H_ |
#include "cocos2d.h" |
#include "CCLuaStack.h" |
@@ -17,14 +17,15 @@ USING_NS_CC; |
typedef std::vector<cocos2d::CCPoint> PointList; |
/** |
- * Physics layer that the user interacts with. |
+ * Layer layer in which gameplay takes place. This layer contains |
noelallen1
2013/03/09 01:20:37
Level
Sam Clegg
2013/03/09 01:35:13
Done.
|
+ * the box2d world simulation. |
*/ |
-class PhysicsLayer : public CCLayerColor, public b2ContactListener { |
+class LevelLayer : public CCLayerColor, public b2ContactListener { |
public: |
- PhysicsLayer(int level_number); |
- ~PhysicsLayer(); |
+ LevelLayer(int level_number); |
+ ~LevelLayer(); |
- static PhysicsLayer* create(int level_number); |
+ static LevelLayer* create(int level_number); |
virtual bool init(); |
virtual void draw(); |
@@ -112,4 +113,4 @@ class PhysicsLayer : public CCLayerColor, public b2ContactListener { |
CCLuaStack* lua_stack_; |
}; |
-#endif // PHYSICS_LAYER_H_ |
+#endif // LEVEL_LAYER_H_ |