Mothback/code/ui.lua

10 lines
149 B
Lua

UIElement = {}
function AddElement(self)
table.insert(UIElement,self)
self.id = #UIElement
end
require "code/ui/button"
require "code/ui/dialog"