Example #1
0
 public void DecreaseUnits(Field.Ownership os, int v)
 {
     foreach (Field f in fields)
     {
         if (f.ownership == os)
         {
             f.SetStrength(f.strength - v, true);
         }
     }
 }
Example #2
0
 public void IncreaseUnits(Field.Ownership os, int v)
 {
     foreach (Field f in fields)
     {
         if (f.ownership == os)
         {
             f.SetStrength(f.strength + v, true);
             f.FillTween(0.4f);
         }
     }
 }