Class cc.TouchDelegate

Class Summary
Constructor Attributes Constructor Name and Description
 

Method Summary

Class Detail

cc.TouchDelegate()

Method Detail

  • {Boolean} onTouchBegan(touch, event)
    Virtual function
    Parameters:
    {cc.Touch} touch
    {event} event
    Returns:
    {Boolean}
  • onTouchCancelled(touch, event)
    Virtual function
    Parameters:
    {cc.Touch} touch
    {event} event
  • onTouchEnded(touch, event)
    Virtual function
    Parameters:
    {cc.Touch} touch
    {event} event
  • onTouchesBegan(touches, event)
    Virtual function
    Parameters:
    {Array} touches
    {event} event
  • onTouchesCancelled(touches, event)
    Virtual function
    Parameters:
    {Array} touches
    {event} event
  • onTouchesEnded(touches, event)
    Virtual function
    Parameters:
    {Array} touches
    {event} event
  • onTouchesMoved(touches, event)
    Virtual function
    Parameters:
    {Array} touches
    {event} event
  • onTouchMoved(touch, event)
    Virtual function
    Parameters:
    {cc.Touch} touch
    {event} event
  • touchDelegateRelease()
    Virtual function