scoring Folder
Folders Index
| folder | commands |
| folder | components |
| folder | systems |
| folder | types |
Files Index
| file | helios/engine/mechanics/scoring/_module.ixx |
|
Module facade for the scoring system. More... | |
| file | MaxScorePoolSnapshot.ixx |
|
Immutable snapshot of a ScorePool's high score state. More... | |
| file | mechanics/scoring/registry.ixx |
|
Component registration for scoring module. More... | |
| file | ScorePool.ixx |
|
Container for accumulated scores by type. More... | |
| file | ScorePoolManager.ixx |
|
Manager for score pools and score command handling. More... | |
| file | ScorePoolSnapshot.ixx |
|
Immutable snapshot of a score pool's state. More... | |
Description
helios::engine::mechanics::scoring
Score management and tracking system for game mechanics.
This module provides components, systems, and infrastructure for tracking and managing scores in the helios engine. It supports multiple score pools (e.g., per-player), score types (e.g., kill rewards), and integrates with the combat and UI systems.
Submodules
| Submodule | Purpose |
|---|---|
| commands/ | Score update commands for the command buffer |
| components/ | Score-related ECS components |
| systems/ | Systems for score processing and observation |
| types/ | Score data types and value classes |
Key Classes
| Class | Purpose |
|---|---|
| ScorePoolManager | Manager that owns score pools and handles score commands |
| ScorePool | Container accumulating scores by type with running total |
| ScorePoolSnapshot | Immutable snapshot of pool state |
Architecture
The scoring system follows a command-based architecture:
1. Combat events trigger UpdateScoreCommand via CombatScoringSystem 2. Commands are dispatched to ScorePoolManager 3. Scores are accumulated in ScorePool instances 4. UI observes pools via ScoreObserverComponent + ScoreObserverSystem
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.