scenes/boost: comment out pause controller

For now, we don't support the old menu system. It'll be restored, but 
for now it simply wouldn't work.
This commit is contained in:
Kazhnuz 2019-02-03 20:30:16 +01:00
parent a2dfd35944
commit bcdd88b24b

View file

@ -8,7 +8,7 @@ local HUD = require(folder .. "hud")
local Background = require(folder .. "background")
local Camera = require(folder .. "camera")
local World = require(folder .. "world")
local PauseMenu = require(folder .. "pause")
--local PauseMenu = require(folder .. "pause")
local CharacterManager = require(folder .. "characters")
@ -64,7 +64,7 @@ function Controller:initManagers()
self.camera = Camera(self, 0, 0)
self.background = Background(self)
self.characters = CharacterManager(self)
self.pausemenu = PauseMenu(self)
--self.pausemenu = PauseMenu(self)
end
function Controller:destroy()
@ -76,7 +76,7 @@ function Controller:destroy()
self.camera = nil
self.background = nil
self.characters = nil
self.pausemenu = nil
--self.pausemenu = nil
self.assets:clear()
end
@ -130,7 +130,7 @@ function Controller:update(dt)
self.world:update(dt)
self.camera:update(dt)
else
self.pausemenu:update(dt)
--self.pausemenu:update(dt)
end
if game.input.keys["start"].isPressed then
@ -151,7 +151,7 @@ function Controller:draw()
self.hud:draw()
if self.pause == true then
self.pausemenu:draw(dt)
--self.pausemenu:draw(dt)
end
end