public void OnPointerEnter(PointerEventData eventData) // Executor { if (intendant.GetMode() == intendant.CHOISE_MODE) { intendant.Alert(province_name); } finished_up = false; moveup = true; movedown = false; }
public void OnChangeMoveSlider() { PeopleToMove = (int)(MaxPeopleToMove * MoveSlider.value); MoveCost = (int)(PeopleToMove / 10f); UpdateMoveCostText(); UpdateMoveQuantityText(); intendant.Alert("Select the province to move by press right mouse button"); }
public void RestructBudget() { ImportEconomicSlidersData(); int income = GetCivilianTax() + GetProductionTax(); int army_outcome = GetArmyOutcome(); float ArmyOutcomePercentage = (float)army_outcome / (float)income; intendant.armyslider.value = ArmyOutcomePercentage; proficite = (int)(income - army_outcome - (income * ForeignTrade) - (income * Investments) - (income * Researches)); if (proficite >= 0) { intendant.Alert(String.Format("Your step proficite is {0}", proficite)); } else { intendant.Alert(String.Format("Your step deficite is {0}", proficite * -1)); } }