Skip to content

Documentation / @debuffjp/input / InputHost

Interface: InputHost ​

Defined in: input.ts:16

The parts of Game that Input uses.

Properties ​

canvas ​

canvas: HTMLElement

Defined in: input.ts:17


hooks ​

hooks: object

Defined in: input.ts:19

afterUpdate() ​

afterUpdate(fn): () => void

Parameters ​
fn ​

(dt) => void

Returns ​

() => void


toLogical ​

toLogical: ToLogical

Defined in: input.ts:18