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 Parameter | Default type |
|---|---|
Input | unknown |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
player | string | Who it was. | lockstep.ts:10 |
input? | Input | Their 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 |