diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-01 16:24:21 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-01 16:24:21 +0200 |
commit | cd41deaf64d5b5f4f6e2488396fbf29778c4f91c (patch) | |
tree | 70691e65bbefae8b48f2869c21daac2f6a5f0199 /test-client/protocol.ts | |
parent | 17024786036868b66a86caaf967a65d77dc2bd15 (diff) | |
download | hurrycurry-cd41deaf64d5b5f4f6e2488396fbf29778c4f91c.tar hurrycurry-cd41deaf64d5b5f4f6e2488396fbf29778c4f91c.tar.bz2 hurrycurry-cd41deaf64d5b5f4f6e2488396fbf29778c4f91c.tar.zst |
game ends with timer
Diffstat (limited to 'test-client/protocol.ts')
-rw-r--r-- | test-client/protocol.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-client/protocol.ts b/test-client/protocol.ts index 81a0d1a4..1e76700a 100644 --- a/test-client/protocol.ts +++ b/test-client/protocol.ts @@ -49,7 +49,7 @@ export type PacketC = | { type: "update_map", tile: Vec2, kind: TileIndex | null, neighbors: [TileIndex | null] } // A map tile was changed | { type: "communicate", player: PlayerID, message?: Message, persist: boolean } // A player wants to communicate something, message is null when cleared | { type: "server_message", text: string } // Text message from the server - | { type: "score", points: number, demands_failed: number, demands_completed: number, } // Supplies information for score OSD + | { type: "score", points: number, demands_failed: number, demands_completed: number, time_remaining?: number } // Supplies information for score OSD | { type: "set_ingame", state: boolean } // Set to false when entering the game or switching maps | { type: "error", message: string } // Your client did something wrong. |