Refonte pour utiliser le systeme de GUI #112

Merged
kazhnuz merged 102 commits from feat/gui into master 2022-01-06 19:15:16 +01:00
Showing only changes of commit 783ca58c78 - Show all commits

View file

@ -164,7 +164,10 @@ end
-- Draw the menu and its content
function Gui:redraw()
for _, element in pairs(self.elements) do
for _, element in pairs(self:getVisibleElement(true)) do
element:redraw()
end
for _, element in pairs(self:getVisibleElement(false)) do
element:redraw()
end
end