C# Класс JustBelot.Common.DealManager

Responsible for one deal (one particular allocation of 32 cards to the four players including the bidding, the play of the cards and the scoring based on those cards.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DealManager ( JustBelot.Common.GameManager game ) : System
PlayDeal ( ) : JustBelot.Common.DealResult

Приватные методы

Метод Описание
AskForCardCombinations ( IPlayer player ) : IEnumerable
Bidding ( ) : JustBelot.Common.Contract
DealCardsToAllPlayers ( int cardsCount ) : void
PlayCard ( IPlayer player, JustBelot.Common.Contract contract, IList currentTrickCards ) : JustBelot.Common.PlayAction
PlayCards ( JustBelot.Common.Contract contract ) : void
PrepareDealResult ( JustBelot.Common.Contract contract ) : JustBelot.Common.DealResult

Описание методов

DealManager() публичный Метод

public DealManager ( JustBelot.Common.GameManager game ) : System
game JustBelot.Common.GameManager
Результат System

PlayDeal() публичный Метод

public PlayDeal ( ) : JustBelot.Common.DealResult
Результат JustBelot.Common.DealResult