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:
parent
a2dfd35944
commit
bcdd88b24b
1 changed files with 5 additions and 5 deletions
|
@ -8,7 +8,7 @@ local HUD = require(folder .. "hud")
|
||||||
local Background = require(folder .. "background")
|
local Background = require(folder .. "background")
|
||||||
local Camera = require(folder .. "camera")
|
local Camera = require(folder .. "camera")
|
||||||
local World = require(folder .. "world")
|
local World = require(folder .. "world")
|
||||||
local PauseMenu = require(folder .. "pause")
|
--local PauseMenu = require(folder .. "pause")
|
||||||
|
|
||||||
local CharacterManager = require(folder .. "characters")
|
local CharacterManager = require(folder .. "characters")
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ function Controller:initManagers()
|
||||||
self.camera = Camera(self, 0, 0)
|
self.camera = Camera(self, 0, 0)
|
||||||
self.background = Background(self)
|
self.background = Background(self)
|
||||||
self.characters = CharacterManager(self)
|
self.characters = CharacterManager(self)
|
||||||
self.pausemenu = PauseMenu(self)
|
--self.pausemenu = PauseMenu(self)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Controller:destroy()
|
function Controller:destroy()
|
||||||
|
@ -76,7 +76,7 @@ function Controller:destroy()
|
||||||
self.camera = nil
|
self.camera = nil
|
||||||
self.background = nil
|
self.background = nil
|
||||||
self.characters = nil
|
self.characters = nil
|
||||||
self.pausemenu = nil
|
--self.pausemenu = nil
|
||||||
|
|
||||||
self.assets:clear()
|
self.assets:clear()
|
||||||
end
|
end
|
||||||
|
@ -130,7 +130,7 @@ function Controller:update(dt)
|
||||||
self.world:update(dt)
|
self.world:update(dt)
|
||||||
self.camera:update(dt)
|
self.camera:update(dt)
|
||||||
else
|
else
|
||||||
self.pausemenu:update(dt)
|
--self.pausemenu:update(dt)
|
||||||
end
|
end
|
||||||
|
|
||||||
if game.input.keys["start"].isPressed then
|
if game.input.keys["start"].isPressed then
|
||||||
|
@ -151,7 +151,7 @@ function Controller:draw()
|
||||||
self.hud:draw()
|
self.hud:draw()
|
||||||
|
|
||||||
if self.pause == true then
|
if self.pause == true then
|
||||||
self.pausemenu:draw(dt)
|
--self.pausemenu:draw(dt)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue