Grouping.calculateScore C# (CSharp) Méthode

calculateScore() public méthode

public calculateScore ( List hand ) : int
hand List
Résultat int
    public override int calculateScore(List<Card> hand)
    {
        int score1 = nOfAKind(hand);
        int score2 = checkSuits(hand);
        return (score1 > score2) ? score1 : score2;
    }