Skip to content

Controls

Defined in: plugins/input/Controls.ts:9

Implements

Constructors

new Controls()

new Controls(): Controls

Defined in: plugins/input/Controls.ts:13

Returns

Controls

Properties

keyboard

keyboard: KeyboardControls

Defined in: plugins/input/Controls.ts:10

Implementation of

IControls.keyboard


touch

touch: TouchControls

Defined in: plugins/input/Controls.ts:11

Implementation of

IControls.touch

Accessors

app

Get Signature

get app(): IApplication

Defined in: plugins/input/Controls.ts:17

Returns

IApplication

Methods

connect()

connect(): void

Defined in: plugins/input/Controls.ts:47

Returns

void


destroy()

destroy(): void

Defined in: plugins/input/Controls.ts:21

Returns

void

Implementation of

IControls.destroy


initialize()

initialize(scheme): void

Defined in: plugins/input/Controls.ts:35

Parameters

scheme

UserControls

Returns

void

Implementation of

IControls.initialize


isActionActive()

isActionActive(action): boolean

Defined in: plugins/input/Controls.ts:30

Parameters

action

Action

Returns

boolean

Implementation of

IControls.isActionActive