blob: d5cba2efb80fc3f956337e57e8edb3ab6b797d1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/**
* Player-controlled simulation speed. Only three states ever exist: time
* is stopped, running at reading pace, or running fast with compressed
* flow. Scenes auto-set the effective speed to `paused`; the intended
* speed is preserved so the simulation returns to it when the scene
* resolves.
*/
export type Speed = 'paused' | 'play' | 'fast'
/** The three speeds, in canonical order. */
export const SPEEDS: readonly Speed[] = ['paused', 'play', 'fast']
|