diff options
author | Indrajith K L | 2021-08-02 13:23:30 +0530 |
---|---|---|
committer | Indrajith K L | 2021-08-02 13:23:30 +0530 |
commit | 2ff207a1d30830aeca2ea9e5d085a55ee3448ab0 (patch) | |
tree | be75e1282d19563324cff6d4bfeac9cea053ee51 /controls.wren | |
parent | b73889da9f33b883894db6a989037030fee99f95 (diff) | |
download | rebirth-wren-2ff207a1d30830aeca2ea9e5d085a55ee3448ab0.tar.gz rebirth-wren-2ff207a1d30830aeca2ea9e5d085a55ee3448ab0.tar.bz2 rebirth-wren-2ff207a1d30830aeca2ea9e5d085a55ee3448ab0.zip |
* Code Refactoring
* Bug Fixes in Map rendering
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 |