rules
Class Empty
java.lang.Object
core.Piece
rules.NoneSquare
rules.Empty
public class Empty
- extends NoneSquare
Empty piece.
Constructor Summary |
Empty()
Constructs a new Empty instance |
Empty
public Empty()
- Constructs a new Empty instance
getName
public String getName()
- Specified by:
getName
in class Piece
- See Also:
Piece
pieceString
public String pieceString()
- Specified by:
pieceString
in class Piece
hashCode
public int hashCode()
- Description copied from class:
Piece
- This should be unique for different pieces or different
colors.
- Specified by:
hashCode
in class Piece