Input class

Constructors

Input.new()

Properties

buttons List<bool>
getter/setter pair
cursorLocked bool
getter/setter pair
debug bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keysDown List<bool>
getter/setter pair
keysPressed List<bool>
getter/setter pair
mouseDelta ↔ Vector2
getter/setter pair
mousePos ↔ Vector2
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onKeyDown(KeyboardEvent e) → void
onKeyUp(KeyboardEvent e) → void
onMouseDown(MouseEvent e) → void
onMouseMove(MouseEvent e) → void
onMouseUp(MouseEvent e) → void
printDebug() → void
setCursorLock(bool lock) → void
tick() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited