Пример #1
0
    public CardHandler.HandValue EvaluateHeight()
    {
        List <Card> heightCards = m_heightCards.Select(cui => cui.m_card).ToList();

        CardHandler.HandValue heightValue = CardHandler.EvaluateCards(heightCards);
        //Debug.Log( "Height type " + heightValue.m_type + " Value " + heightValue.m_highCard );
        return(heightValue);
    }
Пример #2
0
    public CardHandler.HandValue EvaluatePower()
    {
        List <Card> powerCards = m_powerCards.Select(cui => cui.m_card).ToList();

        CardHandler.HandValue powerValue = CardHandler.EvaluateCards(powerCards);
        //Debug.Log( "Power type " + powerValue.m_type + " Value " + powerValue.m_highCard );
        return(powerValue);
    }
Пример #3
0
    public CardHandler.HandValue EvaluateDirection()
    {
        List <Card> directionCards = m_directionCards.Select(cui => cui.m_card).ToList();

        CardHandler.HandValue dirValue = CardHandler.EvaluateCards(directionCards);
        //Debug.Log( "Direction type " + dirValue.m_type + " Value " + dirValue.m_highCard );
        return(dirValue);
    }