public void Remove(ChessBoard board) { board.Pieces.Remove(this); }
internal void Move(ChessPosition target, ChessBoard chessBoard) { CurrentPosition = target; }
protected bool CheckAndInsert(int xOff, int yOff, ChessBoard board) => CheckAndInsert(new ChessPosition((byte)(CurrentPosition.X + xOff), (byte)(CurrentPosition.Y + yOff)), board);
public virtual void RecalculateValidMoves(ChessBoard board) { ValidMoves.Clear(); }