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