Exemplo n.º 1
0
 public static void UpdateNeighbours(this Grid grid, int x, int y)
 {
     grid.UpdateRowNeighbours(x);
     grid.UpdateColumnNeighbours(y);
     grid.UpdateSquareNeighbours(grid.GetCell(x, y).Square);
 }