summaryrefslogtreecommitdiff
path: root/world.lua
diff options
context:
space:
mode:
authorElizabeth Alexander Hunt <me@liz.coffee>2026-04-22 15:58:41 -0700
committerElizabeth Alexander Hunt <me@liz.coffee>2026-04-22 15:58:41 -0700
commit078eca583eec21d317e931c84db8f084bef4305d (patch)
tree76b303cdda70a87a5febaf57726d4f8779a387a3 /world.lua
parent3555b9ff88c3872c8f2dd8a8ab02382e2a7d0cb2 (diff)
downloaddyl8-078eca583eec21d317e931c84db8f084bef4305d.tar.gz
dyl8-078eca583eec21d317e931c84db8f084bef4305d.zip
Snapshot
Diffstat (limited to 'world.lua')
-rw-r--r--world.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/world.lua b/world.lua
new file mode 100644
index 0000000..fd793a4
--- /dev/null
+++ b/world.lua
@@ -0,0 +1,5 @@
+World = {}
+function World.add(entity)
+ World[entity.id] = entity
+ return World
+end \ No newline at end of file