threat better

This commit is contained in:
Boki 2026-03-07 12:27:25 -05:00
parent 05bbcb244f
commit 703cfbfdee
12 changed files with 581 additions and 228 deletions

View file

@ -27,8 +27,9 @@ public class GameState
/// <summary>In-progress quests from the quest linked list with target areas and paths.</summary>
public IReadOnlyList<QuestInfo> Quests { get; set; } = [];
// Derived (computed once per tick by GameStateEnricher)
// Derived (computed once per tick by GameStateEnricher / ThreatSystem)
public ThreatMap Threats { get; set; } = new();
public ThreatAssessment ThreatAssessment { get; set; } = new();
public IReadOnlyList<EntitySnapshot> NearestEnemies { get; set; } = [];
public IReadOnlyList<GroundEffect> GroundEffects { get; set; } = [];
}