java.lang.Object
app.minesweeper.MinesweeperPiece
- All Implemented Interfaces:
Piece
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
position
Field position -
isAlive
boolean isAlive -
kind
MinesweeperPieceKind kind -
isFake
boolean isFake
-
-
Constructor Details
-
MinesweeperPiece
-
-
Method Details
-
getPosition
- Specified by:
getPosition
in interfacePiece
- Returns:
- position this piece is located at
-
isAlive
public boolean isAlive() -
getPlayer
public int getPlayer() -
getKind
-
isCovered
public boolean isCovered() -
isFlagged
public boolean isFlagged() -
equals
-
hashCode
public int hashCode()
-