Closed jChicote closed 2 months ago
A new button group is added which contains minor navigation and control actions for the GameSave screen.
The buttons included are:
Important:
Since we can now set the details for the game slot, we need to create a modal popup which allows us to set these details
Criteria
The slot buttons need behavior to modify the image to the slot. Modify the slot so that we can change the color highlight of selected populated slots and empty slot
The current state of the view is complex dependencies on view models which is violating the seperation of concerns between views. The idea is to use the conmtroller as the mediator between the view models. However this violates MVVM as the controller mediates the View Models more tightly. Removing presentation logic from the VMs to the controller, like in MVC.
Main intention for this implementation
To maintain MVVM we would need to change the design of the view models and the intention of the controller.
- Subviewmodels will not be initialised by the parent vview model but instead provided from the controller and injected into the view model.
Problem
The View and View models will be implementing some form of data binding so that the Views actually interact with the view models instead of the view models handling the view interaction to it.
A command will be implemented so that the some logic is executed from it being binded to the View
The view and methods to set the sprite image relies on the sprite alone as the dto sends out the sprite image. However this is being done directly on the edit modal rather than through the modal. Additionally, there is no concrete way of identifying the selected profile without using comparisons of the sprite image directly
What is needed to fix this
Ensure no conversion is occuring throughout the viewmodel and views
New Problems
Things to Fix
Additional 1:
The state of each menu is ambigiously designed.
Button visibility and enabled state is reverse as it should be.
Description
Before the player opens the main menu, they are to select which player save to access
Acceptance Criteria
Implementation
Notes