diff options
Diffstat (limited to 'test-client')
| -rw-r--r-- | test-client/protocol.ts | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/test-client/protocol.ts b/test-client/protocol.ts index f9592ab9..4516d0e5 100644 --- a/test-client/protocol.ts +++ b/test-client/protocol.ts @@ -22,8 +22,8 @@ export type PacketC =      | { type: "position", player: PlayerID, pos: Vec2, rot: number } // Update the position of a players (your own position is included here)      | { type: "take_item", tile: Vec2, player: PlayerID }  // An item was taken from a tile      | { type: "put_item", tile: Vec2, player: PlayerID } // An item was put on a tile -    | { type: "set_tile_item", tile: Vec2, item?: ItemIndex } // A tile generated a new item -    | { type: "set_player_item", player: PlayerID, item?: ItemIndex } // A tile removed an item +    | { type: "set_tile_item", tile: Vec2, item?: ItemIndex } // A tile changed its item +    | { type: "set_player_item", player: PlayerID, item?: ItemIndex } // A player changed their item      | { type: "set_active", tile: Vec2, progress?: number } // A tile is doing something. progress goes from 0 to 1, then null when finished      | { type: "update_map", pos: Vec2, tile: TileIndex, neighbors: [TileIndex | null] } // A map tile was changed      | { type: "communicate", player: PlayerID, message?: Message } // A map tile was changed | 
