systems Folder
Files Index
| file | helios/engine/modules/ui/binding/systems/_module.ixx |
|
Module facade for UI binding systems. More... | |
| file | GameTimer2UiTextUpdateSystem.ixx |
|
System for binding game timer values to UI text components. More... | |
| file | Lives2UiTextUpdateSystem.ixx |
|
System that synchronises a UI text element with a LivesComponent. More... | |
| file | MaxScore2UiTextUpdateSystem.ixx |
|
System for binding high score values to UI text components. More... | |
| file | Score2UiTextUpdateSystem.ixx |
|
System for binding score values to UI text components. More... | |
Description
helios::engine::modules::ui::binding::systems
UI data binding systems.
This namespace contains systems that connect game state to UI widgets, enabling automatic UI updates when the underlying data changes.
Systems
| System | Description |
|---|---|
| Score2UiTextUpdateSystem | Updates text components when observed score values change |
| MaxScore2UiTextUpdateSystem | Updates text components when observed high score values change |
| GameTimer2UiTextUpdateSystem | Updates text components when observed game timer values change |
Score2UiTextUpdateSystem
Queries entities with both ScoreObserverComponent and UiTextComponent. When the score observer signals an update, the system propagates the new total score to the text component.
MaxScore2UiTextUpdateSystem
Queries entities with both MaxScoreObserverComponent and UiTextComponent. When the max score observer signals an update, the system propagates the new high score to the text component.
GameTimer2UiTextUpdateSystem
Queries entities with GameTimerBindingComponent, TimeFormatterComponent, and UiTextComponent. When the observed timer's revision changes, the system formats the current time via the TimeFormatterComponent and updates the text component.
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.