void SwitchDestination() { if (tank.isNear(beijingLocation)) { tank.MoveTo(kathmanduLocation, 0.1f); } else { tank.MoveTo(beijingLocation, 0.1f); } }