RonenNess / GeonBit.UI

UI system for MonoGame projects.
MIT License
467 stars 63 forks source link

State dependent UI-rendering #126

Closed dclipca closed 2 years ago

dclipca commented 2 years ago

Is it possible to somehow render the UI based on some state? One use case is rendering an inventory. Say there is a List<Item> and for each Item, an Item entity is rendered in the inventory.

dclipca commented 2 years ago

Realized it can be made reactive by making a method to refresh whenever the state changes.