public void BaseExpansion() { if (playerResources.Goods >= 1000 && playerResources.Loans >= 1000 && playerResources.People >= 500) { playerResources.Goods -= 1000; playerResources.Loans -= 1000; playerResources.People -= 500; BaseExpansionBlock(); residentialModuleList.Add(new ResidentialModule()); workShopList.Add(new WorkShop()); barracks.LimitUp(); walls.LevelDown(); ChangingLevelBuildingEvent.Invoke(); } }