scenes/boost: use the new scene system
This commit is contained in:
parent
aa8247cc82
commit
ab09778f3a
1 changed files with 3 additions and 2 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue