diff --git a/cocos2dx/layers_scenes_transitions_nodes/CCLayer.h b/cocos2dx/layers_scenes_transitions_nodes/CCLayer.h index 7477319a2c..d45ec8f041 100644 --- a/cocos2dx/layers_scenes_transitions_nodes/CCLayer.h +++ b/cocos2dx/layers_scenes_transitions_nodes/CCLayer.h @@ -104,10 +104,10 @@ public: /** priority of the touch events. Default is 0 */ virtual void setTouchPriority(int priority); virtual int getTouchPriority() const; - - /** swallowsTouches of the touch events. Default is true */ + + /** swallowsTouches of the touch events. Default is true */ virtual void setSwallowsTouches(bool swallowsTouches); - virtual bool getSwallowsTouches() const; + virtual bool getSwallowsTouches() const; /** whether or not it will receive Accelerometer events You can enable / disable accelerometer events with this property.