Adicionado atributo maxspeed para thing
[Projeto-PCG.git] / maploader.lua
blob5a2eb2e2c9844550a8102a05deef9bd66b86274d
1 function map(t)
2 regmap(t.width,t.height,t.spawn[1],t.spawn[2])
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