Méthode | Description | |
---|---|---|
CardComparer ( AnnouncementTypeEnum announcementType ) : System |
Constructor for the class. Creates a new CardComparer object.
|
|
Compare ( object x, object y ) : int |
Compares two cards
|
Méthode | Description | |
---|---|---|
CardComparer ( ) : System |
Constructor for the class. Creates a new CardComparer object. Compares in such order 7,8,9,10,J,Q,K,A
|
|
CompareCombinations ( |
Compares in such order 7,8,9,10,J,Q,K,A
|
|
CompareNoTrumps ( |
Compares in such order 7,8,9,J,Q,K,10,A
|
|
CompareTrumps ( |
Compares in such order 7,8,Q,K,10,A,9,J
|
public CardComparer ( AnnouncementTypeEnum announcementType ) : System | ||
announcementType | AnnouncementTypeEnum | |
Résultat | System |
public Compare ( object x, object y ) : int | ||
x | object | First card |
y | object | Second card |
Résultat | int |