local json = require"common.dkjson" local class = require"common.class" local CHUNK_SIZE = 64 -- for now tiles shall be booleans local function index_ok(offq,offr) return 0<=offq and 0<=offr and offq