Beispiel #1
0
 public float GetValueWithZeroInMissing(int x, int y)
 {
     if (Boundaries.AreValidIndexes(new IntVector2(x, y)))
     {
         return(GetValue(x, y));
     }
     else
     {
         return(0);
     }
 }