From c164daed53574babb26796b05682432709e2c5c1 Mon Sep 17 00:00:00 2001 From: mithe24 Date: Wed, 7 May 2025 17:11:58 +0200 Subject: Feature/json parser (#18) * chore(model/json-parser): Added maven dependency * chore(model): Removed old test JSON file * refactor(model/GameState): List better then map, entities should be able to overlap * feat(Pacman): Added GameState builder to initiate GameState with given paramters. Added a short example JSON-file, more key-value pairs needs to be added as the game progresses. Likewise the builder won't parse for any other key-value pair automatically. --- pacman/model/src/main/resources/maps/testmap.json | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 pacman/model/src/main/resources/maps/testmap.json (limited to 'pacman/model/src/main/resources/maps') diff --git a/pacman/model/src/main/resources/maps/testmap.json b/pacman/model/src/main/resources/maps/testmap.json deleted file mode 100644 index 547f48f..0000000 --- a/pacman/model/src/main/resources/maps/testmap.json +++ /dev/null @@ -1,20 +0,0 @@ - -{ - "spooky": true, - "pacManSpawn": [ - { - "x": 1, - "y": 1 - } - ], - "tileBoard": [ - "x","x","x","x","x", - "x","e","e","e","x", - "x","e","x","e","x", - "x","e","e","e","x", - "x","x","e","x","x", - "x","e","e","e","x", - "x","x","e","x","x", - "x","x","x","x","x" - ] -} -- cgit v1.2.3-70-g09d2