Skip to content

Interface: TurnEntry<Input> ​

Defined in: lockstep.ts:8

One thing that happened in a turn: a player's input, or a player coming or going.

Type Parameters ​

Type ParameterDefault type
Inputunknown

Properties ​

PropertyTypeDescriptionDefined in
playerstringWho it was.lockstep.ts:10
input?InputTheir input, as the room's parseInput returned it.lockstep.ts:12
event?"join" | "leave" | "disconnect" | "reconnect"Set instead of input when the player joined, left, dropped or came back.lockstep.ts:14

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