public void playBattleLoop() throws InterruptedException{
       while(true){
           try
           {
           in = new FileInputStream(battle);
           as = new AudioStream(in);


           ap.player.start(as);
           }
           catch(Exception e)
           {
           System.out.println("Got an IOException: " + e.getMessage());
           e.printStackTrace();

           }


           Thread.sleep(battleLen);

       }

    }