Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipNelson5 committed Dec 5, 2017
1 parent df67765 commit fd6f7b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -55,4 +55,4 @@ public class FieldButton extends Button {
this.status = CLEAR;
this.cleared = false;
}
}
}
6 changes: 3 additions & 3 deletions CS2410_JAVA/8-Minesweeper/src/cs2410/assn8/view/View.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -411,7 +411,7 @@ void gameWon() {
}

/**
* game losing loginc
* game losing logic
*/
void gameLost() {
if (!mute) {
Expand Down Expand Up @@ -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();
}
}
}

0 comments on commit fd6f7b9

Please sign in to comment.