scenes/level: init a gamecore world gravity system
This commit is contained in:
parent
7385207f95
commit
3bf8fe3c1d
|
@ -14,6 +14,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