Examples of changeVolume()


Examples of games.stendhal.client.sound.SoundGroup.changeVolume()

      }

      if (groupExists) {
        int volume = Integer.parseInt(volumeString);
        SoundGroup group = ClientSingletonRepository.getSound().getGroup(groupName);
        group.changeVolume(Numeric.intToFloat(volume, 100.0f));
        WtWindowManager.getInstance().setProperty("sound.volume." + groupName, Integer.toString(volume));
      } else {
        if (groupName.equals("master")) {
          int volume = Integer.parseInt(volumeString);
          ClientSingletonRepository.getSound().changeVolume(Numeric.intToFloat(volume, 100.0f));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.