Class Input

Manages all input events.

Inherits from

  • Object (base class)

Methods

Name Description
addButtonDownEvent
addButtonEvent
addButtonUpEvent
getState Gets the state of a string-bound input.
initialize Processes Config/Input.yml and pulls input string bindings.
isButtonDown Check if a given button is down.
mouseObject Gets the world position of the cursor in the active scene.
mousePos Gets the position of the cursor.
mousePosView Gets the world position of the cursor in the active scene.
mousePosWorld Gets the world position of the cursor in the active scene.
update Updates the key states, and calls all key events.

Authors

Copyright

License