initial get
This commit is contained in:
parent
125cf7fd6d
commit
bc0537a649
@ -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
|
||||
|
||||
@ -23,4 +23,8 @@ function map:draw()
|
||||
end
|
||||
end
|
||||
|
||||
function map:get(x, y)
|
||||
return self[x][y]
|
||||
end
|
||||
|
||||
return { new = new }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user