示例#1
0
        public override ChessPiece Clone(Board board)
        {
            var clone = new NullPiece(board)
                {
                    MovingStrategy = MovingStrategy.Clone(board)
                };

            return clone;
        }
 public abstract void VisitNullPiece(NullPiece nullpiece);
示例#3
0
 public override void VisitNullPiece(NullPiece nullpiece)
 {
     Tokens += " : ,";
 }
示例#4
0
 private bool Equals(NullPiece other)
 {
     return true;
 }