diff --git a/cocos/2d/CCEventListenerAcceleration.h b/cocos/2d/CCEventListenerAcceleration.h index 213bac646e..59ce3d8439 100644 --- a/cocos/2d/CCEventListenerAcceleration.h +++ b/cocos/2d/CCEventListenerAcceleration.h @@ -33,8 +33,6 @@ NS_CC_BEGIN class EventListenerAcceleration : public EventListener { public: - static const ListenerID ID = static_cast(Type::ACCELERATION); - static EventListenerAcceleration* create(std::function callback); virtual ~EventListenerAcceleration(); diff --git a/cocos/2d/CCEventListenerKeyboard.h b/cocos/2d/CCEventListenerKeyboard.h index 6c59f69121..c34d2add0d 100644 --- a/cocos/2d/CCEventListenerKeyboard.h +++ b/cocos/2d/CCEventListenerKeyboard.h @@ -36,8 +36,6 @@ class Event; class EventListenerKeyboard : public EventListener { public: - static const ListenerID ID = static_cast(Type::KEYBOARD); - static EventListenerKeyboard* create(); /// Overrides diff --git a/cocos/2d/CCEventListenerTouch.h b/cocos/2d/CCEventListenerTouch.h index 94b0bd65b7..80ff176263 100644 --- a/cocos/2d/CCEventListenerTouch.h +++ b/cocos/2d/CCEventListenerTouch.h @@ -36,8 +36,6 @@ NS_CC_BEGIN class EventListenerTouchOneByOne : public EventListener { public: - static const ListenerID ID = static_cast(Type::TOUCH_ONE_BY_ONE); - static EventListenerTouchOneByOne* create(); virtual ~EventListenerTouchOneByOne();