Refonte pour utiliser le systeme de GUI #112
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