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/physics_layer.h

Issue 12220140: [nacltoons] Cleanup initial game code. (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
« nacltoons/src/app_delegate.cc ('K') | « nacltoons/src/gameplay_scene.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nacltoons/src/physics_layer.h
diff --git a/nacltoons/src/physics_layer.h b/nacltoons/src/physics_layer.h
index 30922bcdd79028dd3690ceae88db3a140195a56b..642264edab1cada17cdd9f5340bdab204c0b90e4 100644
--- a/nacltoons/src/physics_layer.h
+++ b/nacltoons/src/physics_layer.h
@@ -16,6 +16,7 @@ class PhysicsLayer : public CCLayerColor {
public:
PhysicsLayer() {}
~PhysicsLayer();
+ // add static create() method which encapsulates new + init
CREATE_FUNC(PhysicsLayer);
virtual bool init();
virtual void ccTouchesEnded(CCSet* touches, CCEvent* event);
@@ -29,4 +30,4 @@ class PhysicsLayer : public CCLayerColor {
b2World* world_;
};
-#endif // !PHYSICS_LAYER_H_
+#endif // PHYSICS_LAYER_H_
« nacltoons/src/app_delegate.cc ('K') | « nacltoons/src/gameplay_scene.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698