Refonte pour utiliser le systeme de GUI #112
1 changed files with 1 additions and 6 deletions
|
@ -17,11 +17,7 @@ function BattleSystem:new(battleData)
|
|||
self.assets:batchImport("assets.battle")
|
||||
|
||||
self:playMusic(battleData.music)
|
||||
|
||||
self:initManagers(battleData)
|
||||
|
||||
self:register()
|
||||
|
||||
self:startBattle()
|
||||
|
||||
self.screen = nil
|
||||
|
@ -86,8 +82,7 @@ function BattleSystem:update(dt)
|
|||
end
|
||||
|
||||
function BattleSystem:draw()
|
||||
self.world:draw()
|
||||
self.turns:draw()
|
||||
BattleSystem.super.draw(self)
|
||||
if (self.screen ~= nil) then
|
||||
self.screen:draw()
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue