Interface: Replay<Input>
Defined in: lockstep.ts:61
Everything needed to run a match again: the seed and every turn in which something happened.
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
Input | unknown |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
v | 2 | Format version. Recordings made before 0.1 are version 1; runReplay reads both. | lockstep.ts:63 |
seed | number | The simulation's seed. | lockstep.ts:65 |
turnRate | number | Turns per second. | lockstep.ts:67 |
turn | number | The last turn of the recording. Turns missing from turns were empty. | lockstep.ts:69 |
turns | [turn: number, entries: TurnEntry<Input>[]][] | Every turn in which something happened, in order, with what happened in it. | lockstep.ts:71 |