private Grid getGrid(int x, int y)
	{
		for (int i = 0; i < this.walls.size(); i++)
		{
			Wall wall = this.walls.get(i);
			if (wall.isOpened())
			{
				Grid grid = wall.getNextGrid(this);
				if (grid.getX() == x && grid.getY() == y)
				{
					return grid;
				}
			}
		}
		
		return null;
	}