mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2024-11-24 23:59:44 +01:00
effect when opponent miss the ship
This commit is contained in:
parent
68beedcf29
commit
38979bdf86
@ -1,7 +1,8 @@
|
||||
/*
|
||||
package pp.battleship.game.client;
|
||||
import com.simsilica.lemur.Slider;
|
||||
|
||||
public class VolumeSlider extends Slider{
|
||||
|
||||
public class VolumeSlider extends Slider {
|
||||
|
||||
private final GameMusic music;
|
||||
|
||||
@ -17,10 +18,8 @@ public class VolumeSlider extends Slider{
|
||||
public void update() {
|
||||
if (vol != getModel().getPercent()) {
|
||||
vol = getModel().getPercent();
|
||||
music.setVolume( (float) vol);
|
||||
music.setVolume((float) vol);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
Loading…
Reference in New Issue
Block a user