me.patothebest.gamecore.util.Sounds.play()

Here are the examples of the java api me.patothebest.gamecore.util.Sounds.play() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

3 Examples 7

19 Source : AbstractArena.java
with GNU General Public License v2.0
from PatoTheBest

public void playSound(Sounds sound) {
    for (Player player : players) {
        sound.play(player);
    }
    for (Player spectator : spectators) {
        sound.play(spectator);
    }
}

17 Source : CorePlayer.java
with GNU General Public License v2.0
from PatoTheBest

@Override
public void playSound(Sounds sound) {
    sound.play(player);
}

17 Source : CorePlayer.java
with GNU General Public License v2.0
from PatoTheBest

@Override
public void playSound(Sounds sound, float volume, float pitch) {
    sound.play(player, volume, pitch);
}