Lives2UiTextUpdateSystem Class
Updates UiTextComponents bound to a LivesComponent via LivesBindingComponent. 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 |
|
Synchronises bound text elements with their target lives values. More... | |
Description
Updates UiTextComponents bound to a LivesComponent via LivesBindingComponent.
Each frame, the system compares the stored LivesRevision in the binding against the target's current revision. On mismatch the formatted lives value is written into the UiTextComponent.
Definition at line 40 of file Lives2UiTextUpdateSystem.ixx.
Public Member Typedefs
EngineRoleTag
|
Definition at line 45 of file Lives2UiTextUpdateSystem.ixx.
Public Member Functions
update()
| inline noexcept |
Synchronises bound text elements with their target lives values.
- Parameters
-
updateContext Current frame context.
Definition at line 51 of file Lives2UiTextUpdateSystem.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.