public void leeArchivo() throws IOException{
    	BufferedReader fileIn;
        System.out.println("Entra leerArchivo");
    	try{
    		fileIn = new BufferedReader(new FileReader(nombreArchivo));
    	} catch (FileNotFoundException e){
    		File puntos = new File(nombreArchivo);
    		PrintWriter fileOut = new PrintWriter(puntos);
    		fileOut.println("100,demo");
    		fileOut.close();
    		fileIn = new BufferedReader(new FileReader(nombreArchivo));
    	}//strLine = br.readLine()
    	String dato = fileIn.readLine();

    	while(dato != null) {
            oro.setPosX((Integer.parseInt(dato)));
            oro.setPosY((Integer.parseInt(fileIn.readLine())));
            dragon.setPosX((Integer.parseInt(fileIn.readLine())));
            dragon.setPosY((Integer.parseInt(fileIn.readLine())));
            Vx = ((Integer.parseInt(fileIn.readLine())));
            Vy = ((Integer.parseInt(fileIn.readLine())));
            contVy = ((Integer.parseInt(fileIn.readLine())));
            int dt =((Integer.parseInt(fileIn.readLine())));
            clickOro = (dt==1)?true:false;
            score = ((Integer.parseInt(fileIn.readLine())));
            vidas = ((Integer.parseInt(fileIn.readLine())));
            dt = ((Integer.parseInt(fileIn.readLine())));
            suena = (dt==1)?true:false;
            System.out.println(oro.getPosX());
            System.out.println(oro.getPosY());
            System.out.println(dragon.getPosX());
            System.out.println(dragon.getPosY());
            System.out.println(Vx);
            System.out.println(Vy);
            System.out.println(contVy);
            
//    		arr = dato.split(",");
//    		int num = (Integer.parseInt(arr[0]));
//    		String nom = arr[1];
//              String x = nom +" "+ num;
//    		vec.add(x);
    		dato = fileIn.readLine();
    	}
    	fileIn.close();
    }