ScorePoolComponent.ixx File
Component that associates an entity with a score pool. More...
Included Headers
#include <helios.core.types>
#include <helios.engine.mechanics.scoring.types.ScorePoolId>
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 | scoring |
|
Score management and tracking system for game mechanics. More... | |
| namespace | components |
|
Score-related ECS components. More... | |
Classes Index
| class | ScorePoolComponent |
|
Component that associates an entity with a score pool. More... | |
Description
Component that associates an entity with a score pool.
File Listing
The file content with the documentation metadata removed is:
15export namespace helios::engine::mechanics::scoring::components {
24 class ScorePoolComponent {
31 helios::engine::mechanics::scoring::types::ScorePoolId scorePoolId_{helios::core::types::no_init};
64 ScorePoolComponent() = default;
71 ScorePoolComponent(const ScorePoolComponent& other) : scorePoolId_(other.scorePoolId_) {}
73 ScorePoolComponent& operator=(const ScorePoolComponent&) = default;
74 ScorePoolComponent(ScorePoolComponent&&) noexcept = default;
75 ScorePoolComponent& operator=(ScorePoolComponent&&) noexcept = default;
82 void setScorePoolId(const helios::engine::mechanics::scoring::types::ScorePoolId scorePoolId) noexcept {
83 scorePoolId_ = scorePoolId;
91 [[nodiscard]] helios::engine::mechanics::scoring::types::ScorePoolId scorePoolId() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.