private void pickEmptyPos(int x[], int i) { 
		
		int max=maze.getSize();
		char[][] auxmaze=maze.getMaze();

		do {
			x[0]=generator.nextInt(max);
			x[1]=generator.nextInt(max);
		} while (auxmaze[x[0]][x[1]]!=' ');	
		
		for(int j=0; j<i; j++) {
			if(dragons[j].getX()==x[0] && dragons[j].getY()==x[1])
				pickEmptyPos(x, i);
		}
	
	}