Lives2UiTextUpdateSystem.ixx File
System that synchronises a UI text element with a LivesComponent. More...
Included Headers
#include <format>
#include <helios.engine.common.tags.SystemRole>
#include <helios.engine.mechanics.lifecycle.components.Active>
#include <helios.engine.modules.ui.layout>
#include <helios.engine.modules.ui.widgets>
#include <helios.engine.runtime.world.UpdateContext>
#include <helios.engine.runtime.world.GameWorld>
#include <helios.engine.mechanics.match.types>
#include <helios.engine.mechanics.match.components>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | modules |
|
Domain-specific components and systems. More... | |
| namespace | ui |
|
User interface components and systems for game entities. More... | |
| namespace | binding |
|
Data binding systems for UI components. More... | |
| namespace | systems |
|
UI data binding systems. More... | |
Classes Index
| class | Lives2UiTextUpdateSystem |
|
Updates UiTextComponents bound to a LivesComponent via LivesBindingComponent. More... | |
Description
System that synchronises a UI text element with a LivesComponent.
File Listing
The file content with the documentation metadata removed is:
26using namespace helios::engine::mechanics::match::components;
27using namespace helios::engine::mechanics::match::types;
31export namespace helios::engine::modules::ui::binding::systems {
40 class Lives2UiTextUpdateSystem {
51 void update(helios::engine::runtime::world::UpdateContext& updateContext) noexcept {
66 if (auto* lc = go->get<LivesComponent>()) {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.