Пример #1
0
 public Transform Get(int x, int y) // Gets object at index x and y
 {
     try
     {
         return((Transform)gridService.GetValue(x, y));
     } catch (IndexOutOfRangeException)
     {
         return(null);
     }
 }
Пример #2
0
 public object Get(int x, int y)
 {
     return(grid.GetValue(x, y));
 }