summaryrefslogtreecommitdiff
path: root/pacman/model/src/main/java (follow)
AgeCommit message (Collapse)AuthorFilesLines
2025-05-17refactor(EntityUtils) Use getPositionX/Y to position (#22)mithe241-8/+8
EntityUtils should use entities builin method for getting position as double containing both integer and decimal part.
2025-05-14docs/model-module (#13)mithe243-5/+142
* docs(model/entities): Documentation for entities and items Adds documentation to the following entity and item classes - Entity - EntityUtils - Items Did not add documentation for Ghost entity and Pacman entity, since the class is not done yet. * fix/small-fixes (#14) * fix(model/entities): entites start in center of tile * style(pacman): It should be width and height, not height and width. * refactor(view): Changing setting of background color
2025-05-08refactor(module-info): Removed transitivity for importsmithe241-1/+0
2025-05-07fix/small-fixes (#14)mithe243-7/+8
* fix(model/entities): entites start in center of tile * style(pacman): It should be width and height, not height and width. * refactor(view): Changing setting of background color
2025-05-07Feature/json parser (#18)mithe244-43/+126
* 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.
2025-05-07refactor/pacman-movement (#19)mithe245-75/+184
* refactor(model/Direction): Put Direction enum in Entity class * refactor(model/pacman-movement): Refactored pacman movement
2025-04-29Initial commitmithe2410-4/+447
2025-04-29Initial commitMikkel1-0/+7
squashed all previous commits to one.