mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
13 lines
255 B
JavaScript
13 lines
255 B
JavaScript
const Event = require('./Event')
|
|
|
|
class TouchEvent extends Event {
|
|
constructor(type, touchEventInit) {
|
|
super(type)
|
|
this.touches = []
|
|
this.targetTouches = []
|
|
this.changedTouches = []
|
|
}
|
|
}
|
|
|
|
module.exports = TouchEvent
|