Browse Source

Add class Cell

feature_Minesweeper_Playfield
kfkama 3 years ago
parent
commit
44a39db750
  1. 15
      src/main/java/Minesweeper/Cell.java
  2. 0
      src/main/java/Minesweeper/MinesweeperGame.java

15
src/main/java/Minesweeper/Cell.java

@ -0,0 +1,15 @@
package Minesweeper;
enum CellType{Number, Bomb}
public class Cell {
public CellType type;
public boolean flagged = false;
public int value = -1;
public Cell(CellType _type) {
type = _type;
}
}

0
src/test/java/Minesweeper/MinesweeperGame.java → src/main/java/Minesweeper/MinesweeperGame.java

Loading…
Cancel
Save