mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2024-11-29 01:59:42 +01:00
lobbyMenu ready button toggles to grey
This commit is contained in:
parent
bdc5f0269f
commit
7f6011720c
@ -163,6 +163,7 @@ public class LobbyMenu extends Dialog {
|
|||||||
readyButton.addClickCommands(s -> ifTopDialog(() -> {
|
readyButton.addClickCommands(s -> ifTopDialog(() -> {
|
||||||
toggleReady();
|
toggleReady();
|
||||||
app.getGameLogic().playSound(Sound.BUTTON);
|
app.getGameLogic().playSound(Sound.BUTTON);
|
||||||
|
readyButton.setBackground(new QuadBackgroundComponent(ColorRGBA.DarkGray));
|
||||||
}));
|
}));
|
||||||
lowerRightMenu.addChild(readyButton);
|
lowerRightMenu.addChild(readyButton);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user