aboutsummaryrefslogtreecommitdiff
path: root/config.wren
diff options
context:
space:
mode:
Diffstat (limited to 'config.wren')
-rw-r--r--config.wren39
1 files changed, 39 insertions, 0 deletions
diff --git a/config.wren b/config.wren
new file mode 100644
index 0000000..a1b8cec
--- /dev/null
+++ b/config.wren
@@ -0,0 +1,39 @@
+import "graphics" for Canvas
+import "dome" for Window
+class Config {
+ construct new() {
+
+ }
+
+ static KeyboardConstants {
+ return {
+ "UP": "up",
+ "DOWN": "down",
+ "LEFT": "left",
+ "RIGHT": "right",
+ "PICK" : "c",
+ "SELECT": "z",
+ "ATTACK": "x",
+ "QUIT": "escape"
+ }
+ }
+
+ static setup() {
+ Window.resize(800, 600)
+ Canvas.resize(800, 600)
+ Window.title = "REBIRTH"
+ }
+
+ // static KeyboardConstants() {
+ // return {
+ // "UP": "up",
+ // "DOWN": "down",
+ // "LEFT": "left",
+ // "RIGHT": "right",
+ // "PICK" : "c",
+ // "SELECT": "z",
+ // "ATTACK": "x",
+ // "QUIT": "esc"
+ // }
+ // }
+} \ No newline at end of file