scenes/boost: register correctly the scene

This commit is contained in:
Kazhnuz 2019-02-04 08:40:06 +01:00
parent fc1d877ef6
commit f613cd4e2a

View file

@ -3,6 +3,7 @@ local BoostLevel = Scene:extend()
local Controller = require "scenes.subgame.sonic-boost.controller" local Controller = require "scenes.subgame.sonic-boost.controller"
function BoostLevel:new() function BoostLevel:new()
BoostLevel.super.new(self)
self.controller = Controller() self.controller = Controller()
print("battle started") print("battle started")
--self.background = love.graphics.newImage("assets/background/testbackground.png") --self.background = love.graphics.newImage("assets/background/testbackground.png")