Documentation / @debuffjp/input / InputHost
Interface: InputHost
Defined in: input.ts:20
The parts of Game that Input uses.
Properties
canvas
canvas:
HTMLElement
Defined in: input.ts:21
hooks
hooks:
object
Defined in: input.ts:23
afterUpdate()
afterUpdate(
fn): () =>void
Parameters
fn
(dt) => void
Returns
() => void
splashEnd()?
optionalsplashEnd(fn): () =>void
The splash ended (@debuffjp/core 0.31.1 and later): input made during it is dropped.
Parameters
fn
() => void
Returns
() => void
toLogical
toLogical:
ToLogical
Defined in: input.ts:22