Skip to content

IControls

Defined in: plugins/input/interfaces.ts:23

Properties

keyboard

readonly keyboard: KeyboardControls

Defined in: plugins/input/interfaces.ts:24


touch

readonly touch: TouchControls

Defined in: plugins/input/interfaces.ts:25

Methods

destroy()

destroy(): void

Defined in: plugins/input/interfaces.ts:31

Returns

void


initialize()

initialize(scheme, actions): void

Defined in: plugins/input/interfaces.ts:29

Parameters

scheme

UserControls

actions

ActionMap

Returns

void


isActionActive()

isActionActive(action): boolean

Defined in: plugins/input/interfaces.ts:27

Parameters

action

string

Returns

boolean