From 046617ae201bf6180adf30af743e1c8deeff5c4b Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad <600878@stud.hvl.no> Date: Sat, 20 May 2023 16:06:31 +0200 Subject: [PATCH] Drawn characters on the board --- .../inspectionProfiles/Project_Default.xml | 5 ++++ .../ClientApp/src/components/gameCanvas.tsx | 7 ++--- .../src/components/gameComponent.tsx | 4 +-- .../ClientApp/src/game/character.ts | 25 +++++++++++++++++ pac-man-board-game/ClientApp/src/game/game.ts | 4 +-- .../ClientApp/src/game/tileMap.ts | 27 ++++++++++++++++++- .../ClientApp/src/pages/counter.tsx | 2 +- .../ClientApp/src/types/types.d.ts | 4 ++- .../WebSocketService.ts | 0 .../src/{classes => websockets}/actions.ts | 0 10 files changed, 68 insertions(+), 10 deletions(-) create mode 100644 pac-man-board-game/ClientApp/src/game/character.ts rename pac-man-board-game/ClientApp/src/{classes => websockets}/WebSocketService.ts (100%) rename pac-man-board-game/ClientApp/src/{classes => websockets}/actions.ts (100%) diff --git a/.idea/.idea.pac-man-board-game/.idea/inspectionProfiles/Project_Default.xml b/.idea/.idea.pac-man-board-game/.idea/inspectionProfiles/Project_Default.xml index 146ab09..61b4da4 100644 --- a/.idea/.idea.pac-man-board-game/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/.idea.pac-man-board-game/.idea/inspectionProfiles/Project_Default.xml @@ -1,6 +1,11 @@