scenes/boost: use the new scene system

This commit is contained in:
Kazhnuz 2019-02-03 20:00:08 +01:00
parent aa8247cc82
commit ab09778f3a

View file

@ -1,7 +1,8 @@
local BoostLevel = {} local Scene = require "core.modules.scenes"
local BoostLevel = Scene:extend()
local Controller = require "scenes.levels.controller" local Controller = require "scenes.levels.controller"
function BoostLevel:enter() function BoostLevel:new()
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")