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()
|
function BoostLevel:new()
|
||||||
BoostLevel.super.new(self)
|
BoostLevel.super.new(self)
|
||||||
self.controller = Controller()
|
self.controller = Controller()
|
||||||
print("battle started")
|
|
||||||
--self.background = love.graphics.newImage("assets/background/testbackground.png")
|
|
||||||
|
|
||||||
self:register()
|
self:register()
|
||||||
end
|
end
|
||||||
|
@ -16,12 +14,7 @@ function BoostLevel:update(dt)
|
||||||
end
|
end
|
||||||
|
|
||||||
function BoostLevel:draw()
|
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()
|
self.controller:draw()
|
||||||
--CScreen:cease()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function BoostLevel:leave()
|
function BoostLevel:leave()
|
||||||
|
|
Loading…
Reference in a new issue