diff options
| author | mithe24 <mithe24@student.sdu.dk> | 2025-05-14 12:30:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-14 12:30:20 +0200 |
| commit | e7563be943667b6aad5813090989b9e28424b052 (patch) | |
| tree | 407a699a7e6c85f745c706931e4896c4b2894127 /pacman/model/src/main | |
| parent | 06d91d0f24991ad47edabc09f43fcdb85facb18b (diff) | |
| download | pacman-e7563be943667b6aad5813090989b9e28424b052.tar.gz pacman-e7563be943667b6aad5813090989b9e28424b052.zip | |
feat/view-manager (#20)
* 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.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions