#include <CCTouchHandler.h>
Public Member Functions | |
~CCTargetedTouchHandler (void) | |
bool | isSwallowsTouches (void) |
whether or not the touches are swallowed More... | |
void | setSwallowsTouches (bool bSwallowsTouches) |
CCSet * | getClaimedTouches (void) |
MutableSet that contains the claimed touches. More... | |
bool | initWithDelegate (CCTouchDelegate *pDelegate, int nPriority, bool bSwallow) |
initializes a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not More... | |
Public Member Functions inherited from CCTouchHandler | |
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) |
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) |
Public Member Functions inherited from CCCopying | |
virtual CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
static CCTargetedTouchHandler * | handlerWithDelegate (CCTouchDelegate *pDelegate, int nPriority, bool bSwallow) |
allocates a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not More... | |
Static Public Member Functions inherited from CCTouchHandler | |
static CCTouchHandler * | handlerWithDelegate (CCTouchDelegate *pDelegate, int nPriority) |
allocates a TouchHandler with a delegate and a priority More... | |
Protected Attributes | |
bool | m_bSwallowsTouches |
CCSet * | m_pClaimedTouches |
Protected Attributes inherited from CCTouchHandler | |
CCTouchDelegate * | m_pDelegate |
int | m_nPriority |
int | m_nEnabledSelectors |
Protected Attributes inherited from CCObject | |
unsigned int | m_uReference |
unsigned int | m_uAutoReleaseCount |
Additional Inherited Members | |
Public Attributes inherited from CCObject | |
unsigned int | m_uID |
int | m_nLuaID |
~CCTargetedTouchHandler | ( | void | ) |
CCSet* getClaimedTouches | ( | void | ) |
MutableSet that contains the claimed touches.
|
static |
allocates a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not
bool initWithDelegate | ( | CCTouchDelegate * | pDelegate, |
int | nPriority, | ||
bool | bSwallow | ||
) |
initializes a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not
bool isSwallowsTouches | ( | void | ) |
whether or not the touches are swallowed
void setSwallowsTouches | ( | bool | bSwallowsTouches) |
|
protected |
|
protected |