Exemplo n.º 1
0
        public char IsKingOrMen(AvailableObject i_AvailableObject, ref Piece[] io_Matrix)
        {
            char sign;

            if (GotToTheEnd(i_AvailableObject))
            {
                sign = i_AvailableObject.GetKingSignOfPiece();
            }
            else
            {
                sign = io_Matrix[i_AvailableObject.GetIndexInMatrix()].Sign;
            }

            return(sign);
        }