Skip to content

Interface: Snapshot ​

Defined in: lockstep.ts:79

A simulation as it stood after one turn, saved by a player's client and kept by the room, so that someone joining late starts from it instead of from turn 1.

Properties ​

PropertyTypeDescriptionDefined in
turnnumberThe turn the simulation was at.lockstep.ts:81
hashstringThe simulation's hash at that turn, as the players connected then reported it.lockstep.ts:83
datastringWhat the simulation's save returned, as JSON text.lockstep.ts:85

MIT licence. Tickflare is an independent project and is not affiliated with Cloudflare.