diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-19 13:01:18 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-23 19:21:22 +0200 |
commit | c55d90768a9336436238dd93ae1706e23e281e84 (patch) | |
tree | a8d70b76100ae539d0659caa1c62dd0594a05817 /test-client/protocol.ts | |
parent | bcbc56d161ac78a48dcca88e5671d333614d7425 (diff) | |
download | hurrycurry-c55d90768a9336436238dd93ae1706e23e281e84.tar hurrycurry-c55d90768a9336436238dd93ae1706e23e281e84.tar.bz2 hurrycurry-c55d90768a9336436238dd93ae1706e23e281e84.tar.zst |
send neighbours on map updatre
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 31f61d19..aa3aa063 100644 --- a/test-client/protocol.ts +++ b/test-client/protocol.ts @@ -25,4 +25,4 @@ export type PacketC = | { type: "produce_item", tile: Vec2, item: ItemIndex } // A tile generated a new item | { type: "consume_item", tile: Vec2 } // A tile removed an 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 } // A map tile was changed + | { type: "update_map", pos: Vec2, tile: TileIndex, neighbours: [TileIndex | null] } // A map tile was changed |