Skip to content

Commit

Permalink
#1 Remove author name from code files
Browse files Browse the repository at this point in the history
  • Loading branch information
prmr committed May 13, 2020
1 parent 88bf91a commit e94671a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
8 changes: 2 additions & 6 deletions src/ca/mcgill/cs/swevo/minesweeper/Cell.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,14 @@
package ca.mcgill.cs.swevo.minesweeper;

/**
* Represents a cell in the minefield. A cell has two orthogonal properties
* Represents a cell in the mine field. A cell has two orthogonal properties
* that can be modified: a cell can be mined or not, and a cell can be hidden,
* marked (as hiding a mine), or revealed.
*
* @author Martin P. Robillard
*
*/
public class Cell
{
/**
* Represents how the user interacted with a cell.
*
* @author Martin P. Robillard
*/
private enum CellInteractionStatus
{
Expand Down Expand Up @@ -91,6 +86,7 @@ public void reveal()
/**
* If this cell is not marked, mark it. If the cell is marked,
* unmark it.
*
* @pre isHidden() == true;
*/
public void toggleMark()
Expand Down
2 changes: 0 additions & 2 deletions src/ca/mcgill/cs/swevo/minesweeper/Minefield.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
/**
* A rectangular array of cells that can be mined
* and interacted with.
*
* @author Martin P. Robillard
*/
public class Minefield
{
Expand Down
4 changes: 1 addition & 3 deletions src/ca/mcgill/cs/swevo/minesweeper/MinefieldStatus.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
package ca.mcgill.cs.swevo.minesweeper;

/**
* Represents the current abstract state of a minefield.
*
* @author Martin P. Robillard
* Represents the current abstract state of a mine field.
*/
public enum MinefieldStatus
{
Expand Down
1 change: 1 addition & 0 deletions src/ca/mcgill/cs/swevo/minesweeper/Minesweeper.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public class Minesweeper extends Application

/**
* Launches the application.
*
* @param pArgs This program takes no argument.
*/
public static void main(String[] pArgs)
Expand Down
4 changes: 1 addition & 3 deletions src/ca/mcgill/cs/swevo/minesweeper/Position.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@
package ca.mcgill.cs.swevo.minesweeper;

/**
* Represents a position in the minefield. A position
* Represents a position in the mine field. A position
* consists of a row and column index pairs, both
* zero-indexed. Instances of this class are immutable.
*
* @author Martin P. Robillard
*/
public class Position
{
Expand Down

0 comments on commit e94671a

Please sign in to comment.