summaryrefslogtreecommitdiff
path: root/pacman/model/src/main/resources/maps
diff options
context:
space:
mode:
authormithe24 <mithe24@student.sdu.dk>2025-05-07 17:11:58 +0200
committerGitHub <noreply@github.com>2025-05-07 17:11:58 +0200
commitc164daed53574babb26796b05682432709e2c5c1 (patch)
tree50690b34f82847368be7c08c54b4489d4fea3e15 /pacman/model/src/main/resources/maps
parentec0f4221ecd71c0b18e8403daa58b66077ec4343 (diff)
downloadpacman-c164daed53574babb26796b05682432709e2c5c1.tar.gz
pacman-c164daed53574babb26796b05682432709e2c5c1.zip
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.
Diffstat (limited to 'pacman/model/src/main/resources/maps')
-rw-r--r--pacman/model/src/main/resources/maps/testmap.json20
1 files changed, 0 insertions, 20 deletions
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"
- ]
-}