Class cc.TouchHandler

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.TouchHandler Object than contains the delegate and priority of the event handler.

Method Summary

Class Detail

cc.TouchHandler()
cc.TouchHandler Object than contains the delegate and priority of the event handler.

Method Detail

  • <static> {cc.TouchHandler} cc.TouchHandler.create(delegate, priority)
    Create a TouchHandler with a delegate and a priority
    Parameters:
    {cc.TouchDelegate} delegate
    {Number} priority
    Returns:
    {cc.TouchHandler}
  • {cc.TouchDelegate} getDelegate()
    Returns:
    {cc.TouchDelegate}
  • {Number} getEnabledSelectors()
    Enabled selectors
    Returns:
    {Number}
  • {Number} getPriority()
    Returns:
    {Number}
  • {Boolean} initWithDelegate(delegate, priority)
    initializes a TouchHandler with a delegate and a priority
    Parameters:
    {cc.TouchDelegate} delegate
    {Number} priority
    Returns:
    {Boolean}
  • setDelegate(delegate)
    Parameters:
    {cc.TouchDelegate} delegate
  • setEnalbedSelectors(value)
    Parameters:
    {Number} value
  • setPriority(priority)
    Parameters:
    {Number} priority