summaryrefslogtreecommitdiff
path: root/common/map.lua
diff options
context:
space:
mode:
Diffstat (limited to 'common/map.lua')
-rw-r--r--common/map.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/map.lua b/common/map.lua
index 1028982..67e2834 100644
--- a/common/map.lua
+++ b/common/map.lua
@@ -8,8 +8,10 @@
-- to test whether a chunk needs to be loaded you do if map:chunk(cp) == nil then ... end.
-- it will probably also do things relating to entities and multiblock things
+-- note that the Map never creates any Chunks itself, which means it should be agnostic
+-- to whatever actual Chunk class is being used (ChunkC or ChunkS or whatever)
+
local class = require"common.class"
-local chunk = require"common.chunk"
local coords = require"common.coords"
local CHUNK_SIZE = require"common.constants".CHUNK_SIZE