Keyboard Object
The keyboard object of Brutus2D has useful methods for handling input via the keyboard.
Methods
Initialization
- key.Initialize - initialize the keyboard object.
- key.Terminate - terminate the keyboard object.
Key Detection
- key.Pressed() - check to see if a specific key is pressed.
- key.PressedAny - check to see if any key was pressed
- key.Wait - wait until a key is pressed.
Related Pages
page_revision: 2, last_edited: 1214314457|%e %b %Y, %H:%M %Z (%O ago)