Modding:GUIs: Difference between revisions

From Vintage Story Wiki
No edit summary
Line 4: Line 4:


== 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 helper 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 live a bit easier.


===Block Entity GUI===
===Block Entity GUI===
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits