Class cc.MouseHandler
- Defined in: CCMouseDispatcher.js
- Extends cc.Class
Constructor Attributes | Constructor Name and Description |
---|---|
cc.MouseHandler
Object than contains the delegate and priority of the event handler.
|
Method Summary
Class Detail
cc.MouseHandler()
cc.MouseHandler
Object than contains the delegate and priority of the event handler.
Method Detail
-
{cc.MouseEventDelegate} getDelegate()
- Returns:
- {cc.MouseEventDelegate}
-
{Number} getEnabledSelectors()Enabled selectors
- Returns:
- {Number}
-
{Number} getPriority()
- Returns:
- {Number}
-
setDelegate(delegate)
- Parameters:
- {cc.TouchDelegate} delegate
-
setEnalbedSelectors(value)
- Parameters:
- {Number} value
-
setPriority(priority)
- Parameters:
- {Number} priority