public void Click() { if (MoneyManager.Instance.GetCurrentMoney() > data.Cost) { Player.Instance.SelectedTown.Recruit(data); MoneyManager.Instance.RemoveMoney(data.Cost); TownMenuRecruitmentLoader.Reload(); } }
public void EndTurn() { foreach (var region in _Regions) { region.HandleTurnEnd(); } foreach (var army in _Armies) { army.HandleTurnEnd(); } if (Player.Instance.SelectedArmy != null) { Player.Instance.SelectedArmy.DisplayRange(); } TownMenuBuildingLoader.Reload(); TownMenuRecruitmentLoader.Reload(); TownMenuArmyLoader.Reload(); RegionMenuBuildingSceneLoader.Reload(); }