| Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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
|
|
|
|
* feat(View & Controller): Added screens for game, main menu and pause menu
Added screens:
- MainMenuView & MainMenuController.
- GameView & GameController.
- PauseView & PauseController.
* refactor(MainMenuController): MainMenuController constructs game
MainMenuController constructs games and allows the creation of a new game
without terminating the process:
* feat(View): Resource Manager for loading game textures
Add ResourceManager for centralized texture loading.
Implemented a singleton ResourceManager to handle loading of game textures.
Ensures each texture is loaded only once, improving performance and memory efficiency.
Includes fallback logic to return a default "missing texture" image
when a resource cannot be found.
Prevents accidental instantiation by enforcing the singleton pattern.
|
|
|
|
* 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
|
|
* 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.
|
|
* refactor(model/Direction): Put Direction enum in Entity class
* refactor(model/pacman-movement): Refactored pacman movement
|
|
|
|
squashed all previous commits to one.
|