|
* 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.
|