Exemple #1
0
 void OnRepairUnitEvent(RepairUnitEvent e)
 {
     if (!units.RepairNeeded)
     {
         SetButtonState(ButtonState.Resume);
     }
 }
Exemple #2
0
 void OnRepairUnitEvent(RepairUnitEvent e)
 {
     Wealth -= 500;
 }