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