Fix win/loss alert type

This commit is contained in:
Charles Gould 2015-04-20 00:26:01 -04:00
parent c8e84b8a79
commit cfe68c0889

View File

@ -54,9 +54,9 @@ public class GameCanvas extends Canvas {
}
if (game.isWon()) {
winMessageShown = true;
new Alert(Alert.AlertType.CONFIRMATION, "You won!").showAndWait();
new Alert(Alert.AlertType.INFORMATION, "You won!").showAndWait();
} else if (game.isLost()) {
new Alert(Alert.AlertType.CONFIRMATION, "You lost!").showAndWait();
new Alert(Alert.AlertType.INFORMATION, "You lost!").showAndWait();
}
}