diff options
Diffstat (limited to 'controls.wren')
-rw-r--r-- | controls.wren | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/controls.wren b/controls.wren new file mode 100644 index 0000000..3804020 --- /dev/null +++ b/controls.wren @@ -0,0 +1,11 @@ +import "input" for Keyboard + +class Controls { + construct new() { + + } + + static detect(keyCode) { + return Keyboard.isKeyDown(keyCode) + } +}
\ No newline at end of file |