| 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_
|
|
|