Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GlobalEvent

GlobalEvent

Global window based events,

  • Keyboard event provider, with elegant key access and setup value.
  • Potencial for handling any other event.
  • Help from browser to get client navigator data.
  • Activate Player commander place

Hierarchy

  • GlobalEvent

Index

Constructors

constructor

Properties

activeKey

activeKey: IUniVector

Private browser

browser: Browser

Private clientConfig

clientConfig: ClientConfig

get

Private mobileControl

mobileControl: MobileControls

providers

providers: UniVector

Private viewPort

viewPort: ViewPort

Methods

activateKeyDetection

  • activateKeyDetection(): void

Private activateMobilePlatformerControls

  • activateMobilePlatformerControls(): void

attachEvent

  • attachEvent(name: string, callback: any): void

deActivateKeyDetection

  • deActivateKeyDetection(): void

Private deActivateMobilePlatformerControls

  • deActivateMobilePlatformerControls(): void

injectDependency

  • injectDependency(alias: string, anyInstance: any): void

Private mEvent

  • mEvent(event: any): void

Private mEventUp

  • mEventUp(event: Event): void

Private onKeyDownHandler

  • onKeyDownHandler(e: any): void

Private onKeyUpHandler

  • onKeyUpHandler(e: any): void

Private synteticJump

  • synteticJump(): void

Private synteticJumpUp

  • synteticJumpUp(): void

Private synteticLeft

  • synteticLeft(): void

Private synteticLeftUp

  • synteticLeftUp(): void

Private synteticRight

  • synteticRight(): void

Private synteticRightUp

  • synteticRightUp(): void

Generated using TypeDoc