Files
rebirth-wren/controls.wren
Indrajith K L f2e4f56366 * Adds Music Management
* Code Refactoring
* Adds Fonts
2021-08-02 17:10:03 +05:30

15 lines
244 B
Plaintext

import "input" for Keyboard
class Controls {
construct new() {
}
static isKeyDown(keyCode) {
return Keyboard.isKeyDown(keyCode)
}
static justPressed(keyCode) {
return Keyboard[keyCode].justPressed
}
}