Expand description
World snapshot for save/load. World snapshot for save/load functionality.
Provides WorldSnapshot which captures the full simulation state
(all entities, components, groups, metrics, tick counter) in a
serializable form. Games choose the serialization format via serde.
Extension components are NOT included — games must serialize their own extensions separately and re-attach them after restoring.
Structs§
- Entity
Snapshot - Serializable snapshot of a single entity’s components.
- Group
Snapshot - Serializable representation of an elevator group.
- Line
Snapshot Info - Per-line snapshot info within a group.
- World
Snapshot - Serializable snapshot of the entire simulation state.