C# Class JustBelot.Common.Hand

Inheritance: CardsCollection
Afficher le fichier Open project: NikolayIT/BelotGameEngine Class Usage Examples

Méthodes publiques

Méthode Description
FindAvailableCardsCombinations ( ) : IEnumerable
GetAllowedCards ( Contract contract, IList currentTrickCards ) : IEnumerable
Hand ( ) : System
Hand ( int capacity ) : System
IsBeloteAllowed ( Contract contract, IList currentTrickCards, JustBelot.Common.Card card ) : bool

Private Methods

Méthode Description
IsCombinationOfQueenAndKingAvailable ( JustBelot.Common.Card playedCard ) : bool

Method Details

FindAvailableCardsCombinations() public méthode

public FindAvailableCardsCombinations ( ) : IEnumerable
Résultat IEnumerable

GetAllowedCards() public méthode

public GetAllowedCards ( Contract contract, IList currentTrickCards ) : IEnumerable
contract Contract
currentTrickCards IList
Résultat IEnumerable

Hand() public méthode

public Hand ( ) : System
Résultat System

Hand() public méthode

public Hand ( int capacity ) : System
capacity int
Résultat System

IsBeloteAllowed() public méthode

public IsBeloteAllowed ( Contract contract, IList currentTrickCards, JustBelot.Common.Card card ) : bool
contract Contract
currentTrickCards IList
card JustBelot.Common.Card
Résultat bool