public class SeaCowSquare
extends java.lang.Object
Constructor and Description |
---|
SeaCowSquare(char actualValue) |
SeaCowSquare(SeaCowSquare other) |
Modifier and Type | Method and Description |
---|---|
char |
getActualValue() |
char |
getVisibleValue() |
boolean |
isActualShip() |
void |
markAsShip() |
void |
markAsWater() |
void |
reset() |
void |
reveal() |
void |
revealForGameEnd() |
void |
revealForStart() |
public SeaCowSquare(char actualValue)
public SeaCowSquare(SeaCowSquare other)
public char getVisibleValue()
public char getActualValue()
public void markAsShip()
public void markAsWater()
public void reveal()
public void revealForStart()
public void revealForGameEnd()
public boolean isActualShip()
public void reset()