scenes/boost: clean up a bit the scene object

This commit is contained in:
Kazhnuz 2019-02-04 09:19:56 +01:00
parent b163cca8ae
commit 62d45d9e4a

View file

@ -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()