Options
All
  • Public
  • Public/Protected
  • All
Menu

External module event

事件相关

Index

Variables

Const BlockEvents

BlockEvents: SystemEventType[] = [SystemEventType.TOUCH_START, SystemEventType.TOUCH_END, SystemEventType.TOUCH_MOVE,SystemEventType.MOUSE_DOWN, SystemEventType.MOUSE_MOVE, SystemEventType.MOUSE_UP,SystemEventType.MOUSE_ENTER, SystemEventType.MOUSE_LEAVE, SystemEventType.MOUSE_WHEEL]

Let _vec2

_vec2: Vec2 = new Vec2()

Const _vec2

_vec2: Vec2 = new Vec2()

Let accelerationListener

accelerationListener: EventListener | null = null

Const fastRemove

fastRemove: fastRemove = js.array.fastRemove

Let keyboardListener

keyboardListener: EventListener | null = null

Let mouseListener

mouseListener: EventListener | null = null

Const systemEvent

systemEvent: SystemEvent = new SystemEvent()
en

The singleton of the SystemEvent, there should only be one instance to be used globally

zh

系统事件单例,方便全局使用。

Let touchListener

touchListener: EventListener | null = null

Functions

applyMixins

  • applyMixins(derivedCtor: any, baseCtors: any[]): void

stopPropagation

  • stopPropagation(event: Event): void

Generated using TypeDoc