scenes/levels: replace individual managers calling by setManagers

This commit is contained in:
Kazhnuz 2019-06-11 19:00:05 +02:00
parent b2079f5bd4
commit caca456614
1 changed files with 1 additions and 3 deletions

View File

@ -10,10 +10,8 @@ function Entity:new(world, type, x, y, w, h) -- On enregistre une nouvelle entit
end
function Entity:initPhysics(world, type, x, y, w, h)
self.scene = world.scene
self.world = world
self:setManagers(world)
self.camera = self.scene.camera
self.obj = self.world.obj
self.type = type
self.gacc = 550