Exemplo n.º 1
0
 public float GetExtremeX(bool upper)
 {
     if (leftGoal)
     {
         return(upper? leftGoal.GetUpperExtremeX() : leftGoal.GetLowerExtremeX());
     }
     else
     {
         return(upper? 3.5f : 3.5f);
     }
 }