Class cc.StandardTouchHandler
Extends
cc.TouchHandler.
Defined in: CCTouchHandler.js.
Constructor Attributes | Constructor Name and Description |
---|---|
cc.StandardTouchHandler
It forwardes each event to the delegate.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
cc.StandardTouchHandler.handlerWithDelegate(delegate, priority)
Allocates a TouchHandler with a delegate and a priority
|
initWithDelegate(delegate, priority)
Initializes a TouchHandler with a delegate and a priority
|
- Methods borrowed from class cc.TouchHandler:
- getDelegate, getEnabledSelectors, getPriority, setDelegate, setEnalbedSelectors, setPriority
Class Detail
cc.StandardTouchHandler()
cc.StandardTouchHandler
It forwardes each event to the delegate.
Method Detail
<static>
{cc.StandardTouchHandler}
cc.StandardTouchHandler.handlerWithDelegate(delegate, priority)
Allocates a TouchHandler with a delegate and a priority
- Parameters:
- {cc.TouchDelegate} delegate
- {Number} priority
- Returns:
- {cc.StandardTouchHandler}
{Boolean}
initWithDelegate(delegate, priority)
Initializes a TouchHandler with a delegate and a priority
- Parameters:
- {cc.TouchDelegate} delegate
- {Number} priority
- Returns:
- {Boolean}