rules
Class Empty

java.lang.Object
  extended by core.Piece
      extended by rules.NoneSquare
          extended by rules.Empty

public class Empty
extends NoneSquare

Empty piece.


Field Summary
 
Fields inherited from class core.Piece
color
 
Constructor Summary
Empty()
          Constructs a new Empty instance
 
Method Summary
 String getName()
           
 int hashCode()
          This should be unique for different pieces or different colors.
 String pieceString()
           
 
Methods inherited from class rules.NoneSquare
moveCandidates, threatens
 
Methods inherited from class core.Piece
getColor, getLastMove, postMove, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Empty

public Empty()
Constructs a new Empty instance

Method Detail

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