Skip to main content

CCStandardTouchHandler

CCStandardTouchHandler

Cocos2D

It forwardes each event to the delegate.

Inheritance: System.Object → Cocos2D.CCTouchHandler

Constructors

CCStandardTouchHandler(ICCStandardTouchDelegate, int)

CCStandardTouchHandler(ICCStandardTouchDelegate, int)(Cocos2D.ICCStandardTouchDelegate pDelegate, System.Int32 nPriority)
Parameters:
pDelegate (Cocos2D.ICCStandardTouchDelegate)
nPriority (System.Int32)

Methods

HandlerWithDelegate(ICCStandardTouchDelegate, int)

Cocos2D.CCStandardTouchHandler HandlerWithDelegate(ICCStandardTouchDelegate, int)(Cocos2D.ICCStandardTouchDelegate pDelegate, System.Int32 nPriority)

allocates a TouchHandler with a delegate and a priority

Parameters:
pDelegate (Cocos2D.ICCStandardTouchDelegate)
nPriority (System.Int32)
Returns:
Cocos2D.CCStandardTouchHandler
Example