Skip to main content

systems Folder

Files Index

filehelios/engine/mechanics/scoring/systems/_module.ixx

Module facade for scoring systems. More...

fileCombatScoringSystem.ixx

System that awards scores based on combat events. More...

fileMaxScoreObserverClearSystem.ixx

System that clears update flags on MaxScoreObserverComponents. More...

fileMaxScoreObserverSystem.ixx

System that updates MaxScoreObserverComponents from ScorePool data. More...

fileScoreObserverClearSystem.ixx

System that clears update flags on ScoreObserverComponents. More...

fileScoreObserverSystem.ixx

System that synchronizes ScoreObserverComponent with ScorePools. More...

Description

helios::engine::mechanics::scoring::systems

Systems for score processing and observation.

This namespace contains systems that handle scoring events, update score and high score observers, and manage observer state lifecycle.

Systems

SystemPhaseDescription
CombatScoringSystemUpdateProcesses death events and issues score commands
ScoreObserverSystemUpdatePropagates score snapshots from ScorePools to ScoreObserverComponents
MaxScoreObserverSystemUpdatePropagates high score snapshots from ScorePools to MaxScoreObserverComponents
ScoreObserverClearSystemPostResets hasUpdate flags on ScoreObserverComponents
MaxScoreObserverClearSystemPostResets hasUpdate flags on MaxScoreObserverComponents

Execution Order

1. CombatScoringSystem - Listens for HealthDepletedEvent, checks for ScoreValueComponent, issues UpdateScoreCommand 2. ScoreObserverSystem - Compares revision, propagates ScorePoolSnapshot to ScoreObserverComponent 3. MaxScoreObserverSystem - Compares revision, propagates MaxScorePoolSnapshot to MaxScoreObserverComponent 4. ScoreObserverClearSystem - Clears hasUpdate flag after UI systems have processed score changes 5. MaxScoreObserverClearSystem - Clears hasUpdate flag after UI systems have processed high score changes



Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.