aboutsummaryrefslogtreecommitdiff
path: root/test-client/protocol.ts
diff options
context:
space:
mode:
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.
}