chore: initial cbs scene clean-up
This commit is contained in:
parent
bd2ec708a3
commit
30389a2655
1 changed files with 1 additions and 6 deletions
|
@ -17,11 +17,7 @@ function BattleSystem:new(battleData)
|
||||||
self.assets:batchImport("assets.battle")
|
self.assets:batchImport("assets.battle")
|
||||||
|
|
||||||
self:playMusic(battleData.music)
|
self:playMusic(battleData.music)
|
||||||
|
|
||||||
self:initManagers(battleData)
|
self:initManagers(battleData)
|
||||||
|
|
||||||
self:register()
|
|
||||||
|
|
||||||
self:startBattle()
|
self:startBattle()
|
||||||
|
|
||||||
self.screen = nil
|
self.screen = nil
|
||||||
|
@ -86,8 +82,7 @@ function BattleSystem:update(dt)
|
||||||
end
|
end
|
||||||
|
|
||||||
function BattleSystem:draw()
|
function BattleSystem:draw()
|
||||||
self.world:draw()
|
BattleSystem.super.draw(self)
|
||||||
self.turns:draw()
|
|
||||||
if (self.screen ~= nil) then
|
if (self.screen ~= nil) then
|
||||||
self.screen:draw()
|
self.screen:draw()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue