Skip to main content

CCTouchHandler

CCTouchHandler

Cocos2D

Object than contains the delegate and priority of the event handler.

Inheritance: System.Object

Constructors

CCTouchHandler(ICCTouchDelegate)

CCTouchHandler(ICCTouchDelegate)(Cocos2D.ICCTouchDelegate pDelegate)
Parameters:
pDelegate (Cocos2D.ICCTouchDelegate)

CCTouchHandler(ICCTouchDelegate, int)

CCTouchHandler(ICCTouchDelegate, int)(Cocos2D.ICCTouchDelegate pDelegate, System.Int32 nPriority)
Parameters:
pDelegate (Cocos2D.ICCTouchDelegate)
nPriority (System.Int32)

Fields

m_nEnabledSelectors(System.Int32)
m_nPriority(System.Int32)
m_pDelegate(Cocos2D.ICCTouchDelegate)

Properties

Delegate(Cocos2D.ICCTouchDelegate)

delegate

EnabledSelectors(System.Int32)

enabled selectors

Priority(System.Int32)

priority

Methods

InitWithDelegate(ICCTouchDelegate, int)

System.Boolean InitWithDelegate(ICCTouchDelegate, int)(Cocos2D.ICCTouchDelegate pDelegate, System.Int32 nPriority)

initializes a TouchHandler with a delegate and a priority

Parameters:
pDelegate (Cocos2D.ICCTouchDelegate)
nPriority (System.Int32)
Returns:
System.Boolean
Example