1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Moved roll for week type to NewTurnProcessor

This commit is contained in:
Ivan Savenko
2024-08-25 19:39:34 +00:00
parent 020f1d1f46
commit c09c414f5a
3 changed files with 59 additions and 56 deletions

View File

@@ -30,6 +30,7 @@ public:
ResourceSet generatePlayerIncome(PlayerColor playerID, bool newWeek);
SetAvailableCreatures generateTownGrowth(const CGTownInstance * town, EWeekType weekType, CreatureID creatureWeek, bool firstDay);
RumorState pickNewRumor();
std::tuple<EWeekType, CreatureID> pickWeekType(bool newMonth);
void onPlayerTurnStarted(PlayerColor color);
void onPlayerTurnEnded(PlayerColor color);