Game/GameManager.cs
/// <summary>
/// Moves the taken over piece to the correct list.
/// </summary>
/// <param name="piece"></param>
Moves the taken over piece to the correct list.
Moves the taken over piece to the correct list .
private void TakeOverPiece(Piece piece)
        {
            if (piece.Side == PieceColor.White)
            {
                Board.WhitePieces.Remove(piece);
            }
            else
            {
                Board.BlackPieces.Remove(piece);
            }
            OnPieceTakenOver(piece, piece.Coords);
        }
private void TakeOverPiece ( Piece piece ) { if ( piece . Side == PieceColor . White ) { Board . WhitePieces . Remove ( piece ) ; } else { Board . BlackPieces . Remove ( piece ) ; } OnPieceTakenOver ( piece , piece . Coords ) ; }
Moves the taken over piece to the correct list.
Moves the taken over piece to the correct list .
piece
Piece
None