Agora compila
[Projeto-PCG.git] / maploader.lua
blob785e3368111cfd82069d6116e6b6c8801f28368e
1 function map(t)
2 regmap(t.width,t.height)
3 for i,p in pairs(t.platforms) do
4 regplatform(p[1],p[2],p[3],p[4],p.passable)
5 end
6 return t
7 end
9 function platform(t)
10 if t.passable == nil then
11 t.passable = true
12 end
13 return t
14 end