Skip to main content

scoring Folder

Folders Index

foldercommands
foldercomponents
foldersystems
foldertypes

Files Index

filehelios/engine/mechanics/scoring/_module.ixx

Module facade for the scoring system. More...

fileMaxScorePoolSnapshot.ixx

Immutable snapshot of a ScorePool's high score state. More...

filemechanics/scoring/registry.ixx

Component registration for scoring module. More...

fileScorePool.ixx

Container for accumulated scores by type. More...

fileScorePoolManager.ixx

Manager for score pools and score command handling. More...

fileScorePoolSnapshot.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

SubmodulePurpose
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

ClassPurpose
ScorePoolManagerManager that owns score pools and handles score commands
ScorePoolContainer accumulating scores by type with running total
ScorePoolSnapshotImmutable 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.