Closed arthurmco closed 4 years ago
A player controls a city.
One or more cities can form a team
Two teams can be allies (will not attack), neutrals (attack only manually, can trade) or enemies (attack automatically if aggressive, cannot trade).
As in c729ee5, we have a new player, team and city dynamics.
City is renamed to Colony, and Team is renamed to Alliance. Also, the game class owns the list of colonies now. This might change in the future, but for now, it is ok.
Detecting if two players are allies or enemies is only a matter of detecting if their colonies are allies or enemies. Not too hard
Since we ended the rework, I will close this issue.
The current player->team->city dynamics is not good, barely exists.
I need to think of something better...