パッケージ mechanics.analysis

クラス StatsSnapshot

java.lang.Object
mechanics.analysis.StatsSnapshot

public class StatsSnapshot extends Object
Immutable data record holding a complete snapshot of all party member stats and active buff names at a specific point in simulation time.

Snapshots are produced by StatsRecorder and consumed by HtmlReportGenerator to populate the interactive stats table slider in the HTML report.

  • フィールド詳細

    • time

      public double time
      Simulation time (in seconds) at which this snapshot was taken.
    • characterStats

      public Map<String,Map<StatType,Double>> characterStats
      Effective stat values per character at time, keyed by character name.
    • characterBuffs

      public Map<String,List<String>> characterBuffs
      Names of active buffs per character at time, keyed by character name.
  • コンストラクタの詳細

    • StatsSnapshot

      public StatsSnapshot(double time, Map<String,Map<StatType,Double>> characterStats, Map<String,List<String>> characterBuffs)
      Constructs a new snapshot.
      パラメータ:
      time - simulation time in seconds
      characterStats - map from character name to their effective stat values
      characterBuffs - map from character name to their active buff name list