From fd6f7b92c036864c73e4473132dcb749ef2ad330 Mon Sep 17 00:00:00 2001 From: Philip Nelson Date: Mon, 4 Dec 2017 23:09:59 -0700 Subject: [PATCH] spelling --- .../8-Minesweeper/src/cs2410/assn8/view/FieldButton.java | 6 +++--- CS2410_JAVA/8-Minesweeper/src/cs2410/assn8/view/View.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CS2410_JAVA/8-Minesweeper/src/cs2410/assn8/view/FieldButton.java b/CS2410_JAVA/8-Minesweeper/src/cs2410/assn8/view/FieldButton.java index 1abcd04..a5b7172 100644 --- a/CS2410_JAVA/8-Minesweeper/src/cs2410/assn8/view/FieldButton.java +++ b/CS2410_JAVA/8-Minesweeper/src/cs2410/assn8/view/FieldButton.java @@ -28,8 +28,8 @@ public class FieldButton extends Button { boolean cleared; /** - * coppy constructor - * @param old the button to be coppied + * copy constructor + * @param old the button to be copied */ FieldButton(FieldButton old){ row = old.row; @@ -55,4 +55,4 @@ public class FieldButton extends Button { this.status = CLEAR; this.cleared = false; } -} \ No newline at end of file +} diff --git a/CS2410_JAVA/8-Minesweeper/src/cs2410/assn8/view/View.java b/CS2410_JAVA/8-Minesweeper/src/cs2410/assn8/view/View.java index b7ac78c..f522877 100644 --- a/CS2410_JAVA/8-Minesweeper/src/cs2410/assn8/view/View.java +++ b/CS2410_JAVA/8-Minesweeper/src/cs2410/assn8/view/View.java @@ -238,7 +238,7 @@ void setImage(Button b, int num) { } /** - * rotates through clear, flagges and question + * rotates through clear, flags and question * @param b */ void switchImage(FieldButton b) { @@ -411,7 +411,7 @@ void gameWon() { } /** - * game losing loginc + * game losing logic */ void gameLost() { if (!mute) { @@ -692,4 +692,4 @@ void extraCredit() { alert.getDialogPane().getChildren().stream().filter(node -> node instanceof Label).forEach(node -> ((Label) node).setMinHeight(Region.USE_PREF_SIZE)); alert.showAndWait(); } -} \ No newline at end of file +}