fix(levels): init a gravity system
This commit is contained in:
parent
8b168a699b
commit
0b9d34abe2
|
@ -13,6 +13,7 @@ function World:new(scene, mapfile)
|
|||
self.map = Sti("assets/maps/" .. mapfile .. ".lua")
|
||||
self.obj = Obj
|
||||
self:initActors()
|
||||
self:setGravity()
|
||||
self.backcolor = self.map.backgroundcolor or {0, 0, 0}
|
||||
|
||||
self.activeObjects = 0
|
||||
|
|
Loading…
Reference in New Issue