From 6eab355611872d9fd97d2bab16b85ea716787483 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 20 Jun 2024 16:38:44 +0200 Subject: grey cursor when no interaction possible --- test-client/protocol.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test-client/protocol.ts') 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. } -- cgit v1.2.3-70-g09d2