Class cc.TargetedTouchHandler

Class Summary
Constructor Attributes Constructor Name and Description
 

Method Summary

Class Detail

cc.TargetedTouchHandler()

Method Detail

  • <static> {cc.TargetedTouchHandler} cc.TargetedTouchHandler.create(delegate, priority, swallow)
    Create a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not
    Parameters:
    {Object} delegate
    {Number} priority
    {Boolean} swallow
    Returns:
    {cc.TargetedTouchHandler}
  • {Array} getClaimedTouches()
    MutableSet that contains the claimed touches
    Returns:
    {Array}
  • {Boolean} initWithDelegate(delegate, priority, swallow)
    Initializes a TargetedTouchHandler with a delegate, a priority and whether or not it swallows touches or not
    Parameters:
    {cc.TouchDelegate} delegate
    {Number} priority
    {Boolean} swallow
    Returns:
    {Boolean}
  • {Boolean} isSwallowsTouches()
    Whether or not the touches are swallowed
    Returns:
    {Boolean}
  • setSwallowsTouches(swallowsTouches)
    Parameters:
    {Boolean} swallowsTouches