summaryrefslogtreecommitdiff
path: root/src/main.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.fnl')
-rw-r--r--src/main.fnl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.fnl b/src/main.fnl
new file mode 100644
index 0000000..448e0a5
--- /dev/null
+++ b/src/main.fnl
@@ -0,0 +1,12 @@
+(local corridor (require :src.corridor))
+
+(local font (love.graphics.newFont :assets/APL333.ttf 72))
+(local current-room (corridor.make font))
+
+
+(fn love.update [dt]
+ (current-room.update dt))
+(fn love.draw []
+ (love.graphics.clear 1 1 1)
+ (current-room.draw))
+