Changed one line of text in shipwarfare GUI

This commit is contained in:
KahootChampion
2019-03-10 23:42:37 -06:00
parent 5b8682a900
commit 0af20d9f67

View File

@@ -35,6 +35,7 @@ public class ShipWarfareGUI {
/** /**
* constructor; only runs when a Player object is provided. The constructor is fully encapsulated. * constructor; only runs when a Player object is provided. The constructor is fully encapsulated.
*
* @param player is a Player object that will be copied and the player instance variable is set to the copy. * @param player is a Player object that will be copied and the player instance variable is set to the copy.
*/ */
public ShipWarfareGUI(Player player) { public ShipWarfareGUI(Player player) {
@@ -272,7 +273,7 @@ public class ShipWarfareGUI {
userAttacks = true; userAttacks = true;
} }
continueToFight.setText(String.format("Shall we continue to fight? (Click the fight button or the run button)", player.getGuns())); continueToFight.setText(String.format("Captain, what are your orders? (Click the fight button or the run button)", player.getGuns()));
if (exitValue == 1) { if (exitValue == 1) {
wipe(); wipe();