LivesComponent.ixx File
Component tracking the remaining lives of an entity. More...
Included Headers
#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 | LivesComponent |
|
Tracks the remaining lives of an entity. More... | |
Description
Component tracking the remaining lives of an entity.
File Listing
The file content with the documentation metadata removed is:
11using namespace helios::engine::mechanics::match::types;
13export namespace helios::engine::mechanics::match::components {
21 class LivesComponent {
31 LivesRevision livesRevision_{1};
48 explicit LivesComponent(const size_t lives) noexcept : lives_(lives), defaultLives_(lives) {};
95 [[nodiscard]] LivesRevision livesRevision() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.