tooster-university / MoonAge

Lua strategy turn based game
MIT License
0 stars 0 forks source link

UI framework documentation #17

Open T3sT3ro opened 6 years ago

T3sT3ro commented 6 years ago

UI: container for single UIWidget, handles events propagation to widget, drawing restrictions etc. UIWidget: toplevel class for widget UIButton: inherits from UIWidget UIFrame: inherits from UIWidget

Methods in cursive should be overriden only if you really know what you are doing! Methods in bold should be overriden for custom logic

UI: