aboutsummaryrefslogtreecommitdiff
path: root/test-client/protocol.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-20 16:38:44 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-23 19:24:32 +0200
commit6eab355611872d9fd97d2bab16b85ea716787483 (patch)
tree81bdd82d9e68f2f6090b57470bdb5ea20198e333 /test-client/protocol.ts
parent20556b7f754ff40860cc69bb3cd67b42581509a3 (diff)
downloadhurrycurry-6eab355611872d9fd97d2bab16b85ea716787483.tar
hurrycurry-6eab355611872d9fd97d2bab16b85ea716787483.tar.bz2
hurrycurry-6eab355611872d9fd97d2bab16b85ea716787483.tar.zst
grey cursor when no interaction possible
Diffstat (limited to 'test-client/protocol.ts')
-rw-r--r--test-client/protocol.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-client/protocol.ts b/test-client/protocol.ts
index 746a83e8..f075852e 100644
--- a/test-client/protocol.ts
+++ b/test-client/protocol.ts
@@ -6,6 +6,8 @@ export type TileIndex = number
export interface Gamedata {
item_names: string[], // Look-up table for ItemIndex
tile_names: string[], // Look-up table for TileIndex
+ tile_collide: boolean[], // Look-up table for TileIndex to check tile collision with players
+ tile_interact: boolean[], // Look-up table for TileIndex to check if a tile is interactable
spawn: Vec2, // Where players spawn when they join.
}