Documentation / @debuffjp/input / TouchHost
Interface: TouchHost
Defined in: touch.ts:5
The parts of Game that TouchControls uses.
Properties
height
height:
number
Defined in: touch.ts:8
hooks
hooks:
object
Defined in: touch.ts:9
beforeUpdate()
beforeUpdate(
fn): () =>void
Parameters
fn
(dt) => void
Returns
() => void
width
width:
number
Defined in: touch.ts:7
Logical size, so positions can count from the right and bottom edges.