Adjusted tthe logic of the server and client
when the client sends a wrong map the server will send the client back to the editro state
This commit is contained in:
parent
0f629252bc
commit
dca0875ad5
@@ -57,6 +57,8 @@ public Menu(BattleshipApp app) {
|
||||
|
||||
addChild(musicToggle);
|
||||
|
||||
addChild(new Label(lookup("menu.volume")));
|
||||
|
||||
Slider volumeSlider = new Slider();
|
||||
volumeSlider.setModel(new DefaultRangedValueModel(0.0 , 2.0, app.getBackgroundMusic().getVolume()));
|
||||
volumeSlider.setDelta(0.1);
|
||||
|
||||
Reference in New Issue
Block a user