Class Index | File Index

Classes


Class cc.Touch


Extends cc.Class.

Defined in: CCTouchDelegateProtocol.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
ctor(x, y, id)
Constructor
 
 
 
 
get point of touch
 
 
setTouchInfo(id, x, y)
set information to touch
Class Detail
cc.Touch()
Method Detail
ctor(x, y, id)
Constructor
Parameters:
x
y
id

{cc.Point} getDelta()
Returns:
{cc.Point}

{Number} getId()
Returns:
{Number}

{Number} getID()
Returns:
{Number}

{cc.Point} getLocation()
get point of touch
Returns:
{cc.Point}

{cc.Point} getPreviousLocation()
Returns:
{cc.Point}

setTouchInfo(id, x, y)
set information to touch
Parameters:
{Number} id
{Number} x
{Number} y

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 09 2013 07:51:54 GMT-0800 (PST)