Score2UiTextUpdateSystem Class
System for binding score values to UI text components. More...
Declaration
Public Member Typedefs Index
| using | EngineRoleTag = helios::engine::common::tags::SystemRole |
Public Member Functions Index
| void | update (helios::engine::runtime::world::UpdateContext &updateContext) noexcept |
|
Updates text components with current score values. More... | |
Description
System for binding score values to UI text components.
Queries entities with ScoreObserverComponent, NumberFormatterComponent, and UiTextComponent. When the score observer signals an update, the formatted total score is propagated to the text component for display.
- See Also
ScoreObserverComponent
- See Also
NumberFormatterComponent
Definition at line 41 of file Score2UiTextUpdateSystem.ixx.
Public Member Typedefs
EngineRoleTag
|
Definition at line 45 of file Score2UiTextUpdateSystem.ixx.
Public Member Functions
update()
| inline noexcept |
Updates text components with current score values.
- Parameters
-
updateContext The current frame's update context.
Definition at line 52 of file Score2UiTextUpdateSystem.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.