Skip to main content

systems Folder

Files Index

filehelios/engine/modules/ui/binding/systems/_module.ixx

Module facade for UI binding systems. More...

fileGameTimer2UiTextUpdateSystem.ixx

System for binding game timer values to UI text components. More...

fileLives2UiTextUpdateSystem.ixx

System that synchronises a UI text element with a LivesComponent. More...

fileMaxScore2UiTextUpdateSystem.ixx

System for binding high score values to UI text components. More...

fileScore2UiTextUpdateSystem.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

SystemDescription
Score2UiTextUpdateSystemUpdates text components when observed score values change
MaxScore2UiTextUpdateSystemUpdates text components when observed high score values change
GameTimer2UiTextUpdateSystemUpdates 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.