Expand description
Bevy integration for deterministic sessions.
The worker owns a separate simulation App and deterministic schedule.
Presentation uses typed command/status resources and an owning session guard.
Install an idle plugin for menus, then attach through SessionController.
Structs§
- Bevy
Simulation - Worker-owned simulation constructed by
GameAdapter. - Game
Adapter - Adapt a
BevyGameto the engine-independentGamesession API. - Session
Cancellation - Cancellation control for the currently attached session.
- Session
Commands - Typed command submission for the currently attached session.
- Session
Controller - Attach sessions after a menu selection without replacing the Bevy App.
- Session
Guard - Retain this guard outside
App::run: Bevy consumes/replaces the original App. Dropping the guard cancels and joins even if the runner retains its World. - Session
Plugin - Presentation-side session resources and lifecycle systems.
- Session
State - Latest coalesced session status, refreshed during
PreUpdate. - SimStep
- Deterministic gameplay schedule, run once per live or replayed tick.
- Tick
Duration - Fixed simulation interval recorded in the session metadata.
- Tick
Inputs - Participant-tagged commands in authoritative order for the current tick.
- Tick
Number - Framework-assigned tick currently being simulated; zero before the first tick.
Traits§
- Bevy
Game - A game’s Bevy simulation construction and presentation hooks.