Example #1
0
 public Element GetAt(Point point)
 {
     if (point.IsOutOf(Size))
     {
         return(Element.NONE);
     }
     return((Element)BoardString[LengthXY.GetLength(point.X, point.Y)]);
 }
Example #2
0
 public Element GetAt(Point point)
 {
     if (point.IsOutOf(Size))
     {
         return(Element.NONE);
     }
     return((Element)ParsedBoard.field[LengthXY.GetLength(point.X, point.Y)]);
 }