Ejemplo n.º 1
0
 protected Piece(Piece pieceCopy)
 {
     Color      = pieceCopy.Color;
     HasMoved   = pieceCopy.HasMoved;
     Position   = pieceCopy.Position;
     LegalMoves = pieceCopy.LegalMoves.DeepCopy();
 }
Ejemplo n.º 2
0
 protected Piece(Square startPosition, Side color)
 {
     Color      = color;
     HasMoved   = false;
     Position   = startPosition;
     LegalMoves = new LegalMovesList();
 }