A turn-based strategy game where up to 4 local players battle to be victorious, by expanding their empires, and controlling units to conquer cities and attack the enemy.
GNU General Public License v3.0
39
stars
10
forks
source link
When a computer player conquers a city, the mini map is not updated. [GH-2] #7
Describe the bug
When a computer player conquers a city, the mini map is not updated. It is only updated when a human player conquers a city.
(This is a bug related to the computer players work for GH-2)
To Reproduce
A computer player's unit must conquer a city.
Expected behaviour
The mini map should update to reflect this change.
System Information (please complete the following information):
n/a (It's a code issue to be fixed)
Additional context
n/a
Suggested Fix
This will most likely require an edit of the display/view system to automatically update the mini map at the end of each turn. This is because the model knows nothing about the display and the controller has no way of knowing if a data update occurred. It is therefore up to the view to update itself.
This is a much wider problem than I initially thought so I created GH-10 as a more general issue about user interface updates.
As such, this issue is now a duplicate so I will close it.
Describe the bug When a computer player conquers a city, the mini map is not updated. It is only updated when a human player conquers a city. (This is a bug related to the computer players work for GH-2)
To Reproduce A computer player's unit must conquer a city.
Expected behaviour The mini map should update to reflect this change.
System Information (please complete the following information): n/a (It's a code issue to be fixed)
Additional context n/a
Suggested Fix This will most likely require an edit of the display/view system to automatically update the mini map at the end of each turn. This is because the model knows nothing about the display and the controller has no way of knowing if a data update occurred. It is therefore up to the view to update itself.