fix: remove subscreen handling
It'll be better handled by a special exclusive screen system
This commit is contained in:
parent
87d4bd389d
commit
c4db0f7d14
1 changed files with 0 additions and 8 deletions
|
@ -1,7 +1,5 @@
|
|||
local GuiScreen = Object:extend()
|
||||
local ElementList = require "birb.modules.gui.mixins.elements"
|
||||
local ScreenList = require "birb.modules.gui.mixins.screens"
|
||||
GuiScreen:implement(ScreenList)
|
||||
GuiScreen:implement(ElementList)
|
||||
|
||||
local TweenManager = require "birb.classes.time"
|
||||
|
@ -31,11 +29,6 @@ end
|
|||
|
||||
function GuiScreen:update(dt)
|
||||
self.tweens:update(dt)
|
||||
for _, screen in pairs(self.screens) do
|
||||
if (screen ~= nil) then
|
||||
screen:update(dt)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function GuiScreen:show()
|
||||
|
@ -69,7 +62,6 @@ end
|
|||
|
||||
function GuiScreen:reset()
|
||||
self:initElements()
|
||||
self:initScreens()
|
||||
end
|
||||
|
||||
function GuiScreen:registerElements()
|
||||
|
|
Loading…
Reference in a new issue