Class cc.EventTouch
- Defined in: CCEvent.js
- Extends cc.Event
Constructor Attributes | Constructor Name and Description |
---|---|
The touch event
|
Method Summary
Class Detail
cc.EventTouch()
The touch event
Field Detail
<static> <constant>
cc.EventTouch.MAX_TOUCHES
The maximum touch numbers
Method Detail
-
ctor(arr)
- Parameters:
- arr
-
{number} getEventCode()Returns event code
- Returns:
- {number}
-
{Array} getTouches()Returns touches of event
- Returns:
- {Array}