aboutsummaryrefslogtreecommitdiff
path: root/controls.wren
diff options
context:
space:
mode:
authorIndrajith K L2021-08-02 13:23:30 +0530
committerIndrajith K L2021-08-02 13:23:30 +0530
commit2ff207a1d30830aeca2ea9e5d085a55ee3448ab0 (patch)
treebe75e1282d19563324cff6d4bfeac9cea053ee51 /controls.wren
parentb73889da9f33b883894db6a989037030fee99f95 (diff)
downloadrebirth-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.wren11
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