public void playRunSound(boolean isRunning)
  {
    if (sfx)
    {
      File[] array = isRunning ? runArray : stepArray;
      try
      {
        File playFile = array[rand.nextInt(array.length)];
        playerStream = AudioSystem.getAudioInputStream(playFile);
        playerFormat = playerStream.getFormat();
      } catch (UnsupportedAudioFileException ex)
      {
        ex.printStackTrace();
      } catch (IOException ex)
      {
        System.out.println("Step File does not exist");
        return;
      }
      Thread dummy = new Thread(new Runnable()
      {
        @Override
        public void run()
        {
          play(playerStream, playerFormat);
        }
      });
      dummy.start();
    }
  }