Modding:GUIs: Difference between revisions

From Vintage Story Wiki
m (add navbox)
m (typo)
Line 7: Line 7:


== Starting out ==
== Starting out ==
You should encapsulate every GUI Dialog into its own class, albeit a dialog may consist of multiple windows - the vanilla character dialog for example has two - one for the players wearables and one for the player stats. There's a couple of base classes to make your live a bit easier.
You should encapsulate every GUI Dialog into its own class, albeit a dialog may consist of multiple windows - the vanilla character dialog for example has two - one for the players wearables and one for the player stats. There's a couple of base classes to make your life a bit easier.


===Block Entity GUI===
===Block Entity GUI===