feat(simulator): Introduce dynamic world simulation tracking in GameState with state transitions and interaction methods

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
autocommit 2026-06-06 16:03:16 -07:00
parent 4008e56643
commit e8e4d5c7f7

View file

@ -415,7 +415,7 @@ pub struct GameState {
#[serde(default, with = "raid_aftermath_as_pairs")]
pub raid_aftermath: BTreeMap<(u16, u16), mc_core::lair::RaidAftermath>,
/// p3-13: active fog-bank map. Keyed by flat tile index (`row * width + col`
/// as `u16`). Populated by `mc-sim::event_dispatch::dispatch_world_events`
/// as `u16`). Populated by `mc-worldsim::event_dispatch::dispatch_world_events`
/// when `AnomalousEvent::FogBank` fires; lazily expires via
/// `mc_observation::fog::is_fogged`. Sparse — zero overhead when no fog is
/// active. Persisted in the save file so fog state survives load/resume.