2 * Decompiled with CFR 0.151.
4 * Could not load the following classes:
5 * com.wurmonline.client.game.PlayerPosition
6 * com.wurmonline.client.renderer.cell.CellRenderable
7 * com.wurmonline.client.sound.FixedSoundSource
8 * com.wurmonline.client.sound.SoundSource
10 package net
.encode
.wurmesp
.util
;
12 import com
.wurmonline
.client
.game
.PlayerPosition
;
13 import com
.wurmonline
.client
.renderer
.cell
.CellRenderable
;
14 import com
.wurmonline
.client
.sound
.FixedSoundSource
;
15 import com
.wurmonline
.client
.sound
.SoundSource
;
17 public class SoundUtils
{
18 public static void playSound(String sound
) {
19 PlayerPosition pos
= CellRenderable
.world
.getPlayer().getPos();
20 CellRenderable
.world
.getSoundEngine().play(sound
, (SoundSource
)new FixedSoundSource(pos
.getX(), pos
.getY(), 2.0f), 1.0f, 5.0f, 1.0f, false, false);