We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db95f96 commit 93fa783Copy full SHA for 93fa783
sim-eth-basic/src/main/java/example/InGameMenuState.java
@@ -84,6 +84,12 @@ protected void disconnect() {
84
85
protected void exitGame() {
86
log.info("exitGame()");
87
+ getState(OptionPanelState.class).show("Exit Game?", "Really exit the whole game?",
88
+ new CallMethodAction("Yes",
89
+ getApplication(),
90
+ "stop"),
91
+ new EmptyAction("No"),
92
+ new EmptyAction("Cancel"));
93
}
94
95
public List<Action> getSessionActions() {
0 commit comments