mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2024-11-25 04:39:43 +01:00
clen up
This commit is contained in:
parent
5cca8f5c05
commit
8261e1b3b2
@ -54,14 +54,11 @@ class Menu extends Dialog {
|
|||||||
|
|
||||||
addChild(slider);
|
addChild(slider);
|
||||||
|
|
||||||
addChild(loadButton)
|
addChild(loadButton).addClickCommands(s -> ifTopDialog(this::loadDialog));
|
||||||
.addClickCommands(s -> ifTopDialog(this::loadDialog));
|
addChild(saveButton).addClickCommands(s -> ifTopDialog(this::saveDialog));
|
||||||
addChild(saveButton)
|
addChild(new Button(lookup("menu.return-to-game"))).addClickCommands(s -> ifTopDialog(this::close));
|
||||||
.addClickCommands(s -> ifTopDialog(this::saveDialog));
|
addChild(new Button(lookup("menu.quit"))).addClickCommands(s -> ifTopDialog(app::closeApp));
|
||||||
addChild(new Button(lookup("menu.return-to-game")))
|
|
||||||
.addClickCommands(s -> ifTopDialog(this::close));
|
|
||||||
addChild(new Button(lookup("menu.quit")))
|
|
||||||
.addClickCommands(s -> ifTopDialog(app::closeApp));
|
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user