Skip to content

Instantly share code, notes, and snippets.

@eugener
Created October 16, 2010 02:42
Show Gist options
  • Save eugener/629328 to your computer and use it in GitHub Desktop.
Save eugener/629328 to your computer and use it in GitHub Desktop.
int choice = TaskDialogs.choice(
"What do you want to do with your game in\nprogress?",
"",
1,
new CommandLink("Exit and save my game", "Save your game in progress, then exit. " +
"This will\noverwrite any previosely saved games."),
new CommandLink("Exit and don't save", "Exit without saving your game. " +
"This is counted\nas a loss in your statistics." ),
new CommandLink("Don't exit", "Return to your game progress" ));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment