initial get

This commit is contained in:
Neckrat 2025-08-30 02:13:19 +03:00
parent 125cf7fd6d
commit bc0537a649
2 changed files with 7 additions and 0 deletions

View File

@ -45,7 +45,10 @@ function level:update(dt)
end
mposCache = tostring(mpos)
-- path = (require "lib.pathfinder")(charPos, mpos)
else
mposCache = nil
end
self.camera:update(dt)
self.selector:update(dt)
end

View File

@ -23,4 +23,8 @@ function map:draw()
end
end
function map:get(x, y)
return self[x][y]
end
return { new = new }