Package games.stendhal.client.sound.nosound

Examples of games.stendhal.client.sound.nosound.NoSoundFacade


   *
   * @param window CursesWindow
   */
  public CursesUI(CursesWindow window) {
    ClientSingletonRepository.setUserInterface(this);
    soundSystemFacade = new NoSoundFacade();
    this.window = window;
  }
View Full Code Here


  /**
   * creates a TextUI
   */
  public TextUI() {
    ClientSingletonRepository.setUserInterface(this);
    soundSystemFacade = new NoSoundFacade();
  }
View Full Code Here

      try {
        if ((j2DClient.class.getClassLoader().getResource("data/sound/harp-1.ogg") != null)
            || (j2DClient.class.getClassLoader().getResource("data/music/the_old_tavern.ogg") != null)) {
          soundSystemFacade = new games.stendhal.client.sound.sound.SoundSystemFacadeImpl();
        } else {
          soundSystemFacade = new NoSoundFacade();
        }
      } catch (RuntimeException e) {
        soundSystemFacade = new NoSoundFacade();
        logger.error(e, e);
      }
    }
    return soundSystemFacade;
  }
View Full Code Here

TOP

Related Classes of games.stendhal.client.sound.nosound.NoSoundFacade

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.