Example #1
0
 public void TrySpawnOurForce(Movable obj, int line)
 {
     if (goldMgr.playerGold - obj.GetUnitCost() >= 0)
     {
         goldMgr.playerGold -= obj.GetUnitCost();
         SpawnOurForce(obj, line);
     }
 }