Class Input

class Input ;

Fields

NameTypeDescription
nodes const(InputEventHandlers)[]

Properties

NameTypeDescription
isKeyDown[set] bool
isKeyReleased[set] bool
lastMouseButtons[get] int
lastMousePosition[get] gfm.math.vector.Vector!(double,2)
mouseButtons[get] int
mousePosition[get] gfm.math.vector.Vector!(double,2)
wasKeyDown[set] bool

Methods

NameDescription
addHandlers (handlers)
addNode (node)
ignoreActions ()
ignoreUnhandledInputs ()
on (action, handler, markInputHandled)