scenes/boost: clean up a bit the scene object
This commit is contained in:
parent
b163cca8ae
commit
62d45d9e4a
1 changed files with 0 additions and 7 deletions
|
@ -5,8 +5,6 @@ local Controller = require "scenes.subgame.sonic-boost.controller"
|
|||
function BoostLevel:new()
|
||||
BoostLevel.super.new(self)
|
||||
self.controller = Controller()
|
||||
print("battle started")
|
||||
--self.background = love.graphics.newImage("assets/background/testbackground.png")
|
||||
|
||||
self:register()
|
||||
end
|
||||
|
@ -16,12 +14,7 @@ function BoostLevel:update(dt)
|
|||
end
|
||||
|
||||
function BoostLevel:draw()
|
||||
--CScreen:apply()
|
||||
love.graphics.setColor(1, 1, 1, 1)
|
||||
love.graphics.rectangle("fill", 0, 0, 424, 240)
|
||||
--love.graphics.draw(self.background, 0, 0)
|
||||
self.controller:draw()
|
||||
--CScreen:cease()
|
||||
end
|
||||
|
||||
function BoostLevel:leave()
|
||||
|
|
Loading…
Reference in a new issue