summaryrefslogtreecommitdiff
path: root/objects/room.lua
diff options
context:
space:
mode:
Diffstat (limited to 'objects/room.lua')
-rw-r--r--objects/room.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/objects/room.lua b/objects/room.lua
new file mode 100644
index 0000000..2825a3f
--- /dev/null
+++ b/objects/room.lua
@@ -0,0 +1,12 @@
+Room = {}
+
+function Room:new()
+ local room = {
+ -- 1=left, 2=right, 3=top, 4=bottom
+ doors = { false, false, true, false },
+ enemies = {},
+ isCleared = false,
+ type = "combat"
+ }
+ return room
+end