|
cocos2d-x
2.2.3-gd2.113-rev1ec524e
|
CCTouchHandler Object than contains the delegate and priority of the event handler. More...
#include <CCTouchHandler.h>
Public Member Functions | |
| virtual | ~CCTouchHandler (void) |
| CCTouchDelegate * | getDelegate () |
| delegate More... | |
| void | setDelegate (CCTouchDelegate *pDelegate) |
| int | getPriority (void) |
| priority More... | |
| void | setPriority (int nPriority) |
| int | getEnabledSelectors (void) |
| enabled selectors More... | |
| void | setEnalbedSelectors (int nValue) |
| virtual bool | initWithDelegate (CCTouchDelegate *pDelegate, int nPriority) |
| initializes a TouchHandler with a delegate and a priority More... | |
Public Member Functions inherited from CCObject | |
| CCObject (void) | |
| virtual | ~CCObject (void) |
| NA. More... | |
| void | release (void) |
| void | retain (void) |
| CCObject * | autorelease (void) |
| CCObject * | copy (void) |
| bool | isSingleReference (void) const |
| unsigned int | retainCount (void) const |
| virtual bool | isEqual (const CCObject *pObject) |
| virtual void | acceptVisitor (CCDataVisitor &visitor) |
| virtual void | update (float dt) |
| CCObject (const CCObject &) | |
| CCObject & | operator= (const CCObject &) |
| virtual void | encodeWithCoder (DS_Dictionary *) |
| virtual bool | canEncode () |
| CCObjectType | getObjType () const |
| virtual int | getTag () const |
| virtual void | setTag (int nTag) |
| void | setObjType (CCObjectType) |
Public Member Functions inherited from CCCopying | |
| virtual CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
| static CCTouchHandler * | handlerWithDelegate (CCTouchDelegate *pDelegate, int nPriority) |
| allocates a TouchHandler with a delegate and a priority More... | |
Static Public Member Functions inherited from CCObject | |
| static CCObject * | createWithCoder (DS_Dictionary *) |
Protected Attributes | |
| CCTouchDelegate * | m_pDelegate |
| int | m_nPriority |
| int | m_nEnabledSelectors |
Protected Attributes inherited from CCObject | |
| unsigned int | m_uReference |
| unsigned int | m_uAutoReleaseCount |
| int | m_nTag |
| int | m_eObjType |
| unsigned int | m_uObjectIdxInArray |
Additional Inherited Members | |
Public Attributes inherited from CCObject | |
| unsigned int | m_uID |
| int | m_nLuaID |
CCTouchHandler Object than contains the delegate and priority of the event handler.
NA NA
|
virtual |
| CCTouchDelegate * getDelegate | ( | ) |
delegate
| int getEnabledSelectors | ( | void | ) |
enabled selectors
| int getPriority | ( | void | ) |
priority
|
static |
allocates a TouchHandler with a delegate and a priority
|
virtual |
initializes a TouchHandler with a delegate and a priority
Reimplemented in CCStandardTouchHandler.
| void setDelegate | ( | CCTouchDelegate * | pDelegate | ) |
| void setEnalbedSelectors | ( | int | nValue | ) |
| void setPriority | ( | int | nPriority | ) |
|
protected |
|
protected |
|
protected |