From 2ff207a1d30830aeca2ea9e5d085a55ee3448ab0 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Mon, 2 Aug 2021 13:23:30 +0530 Subject: * Code Refactoring * Bug Fixes in Map rendering --- controls.wren | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 controls.wren (limited to 'controls.wren') 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 -- cgit v1.2.3