summaryrefslogtreecommitdiff
path: root/pacman/model/pom.xml
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/pom.xml
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 '')
-rw-r--r--pacman/model/pom.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/pacman/model/pom.xml b/pacman/model/pom.xml
index 02e5fb8..6eac4b2 100644
--- a/pacman/model/pom.xml
+++ b/pacman/model/pom.xml
@@ -11,4 +11,12 @@
</parent>
<artifactId>model</artifactId>
+ <dependencies>
+ <!-- https://mvnrepository.com/artifact/org.json/json -->
+ <dependency>
+ <groupId>org.json</groupId>
+ <artifactId>json</artifactId>
+ <version>20250107</version>
+ </dependency>
+ </dependencies>
</project>