LivesBindingComponent.ixx File
Component binding a UI element to a LivesComponent on another entity. More...
Included Headers
#include <helios.core.types>
#include <helios.engine.ecs>
#include <helios.engine.mechanics.match.types>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | mechanics |
|
High-level gameplay systems and components for game logic. More... | |
| namespace | match |
|
Match state management for the helios engine. More... | |
| namespace | components |
|
Components for match rule tracking. More... | |
Classes Index
| class | LivesBindingComponent |
|
Binds a UI entity to the LivesComponent of a target entity. More... | |
Description
Component binding a UI element to a LivesComponent on another entity.
File Listing
The file content with the documentation metadata removed is:
14using namespace helios::engine::ecs;
15using namespace helios::engine::mechanics::match::types;
17export namespace helios::engine::mechanics::match::components {
26 class LivesBindingComponent {
33 EntityHandle entityHandle_;
38 LivesRevision livesRevision_;
47 LivesBindingComponent(EntityHandle target) : entityHandle_(target) {};
54 [[nodiscard]] EntityHandle target() const noexcept {
63 void setLivesRevision(const LivesRevision livesRevision) noexcept {
64 livesRevision_ = livesRevision;
72 [[nodiscard]] LivesRevision livesRevision() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.