Chess.Data.Entities.ChessPiece.GetDestinationPiece C# (CSharp) 메소드

GetDestinationPiece() 보호된 메소드

protected GetDestinationPiece ( Square board, Move move ) : ChessPiece
board Square
move Move
리턴 ChessPiece
        protected ChessPiece GetDestinationPiece(Square[][] board, Move move)
        {
            return board[move.EndRow][move.EndColumn].ChessPiece;
        }