public void moveDown() {
		if(!win && !m.getMap(p.getTileX(), p.getTileY() + 1).matches(pattern) && p.getTileY() != Maze.gridSize-1) {				
			if(yOffset < Maze.gridSize - 20 && p.getTileY() == yOffset + 10) {
				Board.yOffset++;
				p.move(0, 1);
			} else {
				p.move(0, 1);
			}
		}
	}