C# Class ArmedCards.BusinessLogic.DomainServices.GamePlayerCard.Deal

Implementation of Base.IDeal
Inheritance: Base.IDeal
Afficher le fichier Open project: kwmcrell/ArmedCards

Méthodes publiques

Méthode Description
Deal ( ArmedCards.BusinessLogic.DomainServices shuffleCards, ArmedCards.BusinessLogic.DomainServices excludeCurrentHands, ArmedCards.BusinessLogic.DomainServices excludeByCount, Base calculateDrawCount, Base createHand, ArmedCards.BusinessLogic.DomainServices insertGameRoundCard, ArmedCards.BusinessLogic.AppServices updateGame ) : System
Execute ( Entities game, System.Boolean dealQuestion ) : void

Handle dealing cards to players in game

Private Methods

Méthode Description
CreateQuestion ( IEnumerable cards, Entities game ) : Entities.GameRoundCard

Method Details

Deal() public méthode

public Deal ( ArmedCards.BusinessLogic.DomainServices shuffleCards, ArmedCards.BusinessLogic.DomainServices excludeCurrentHands, ArmedCards.BusinessLogic.DomainServices excludeByCount, Base calculateDrawCount, Base createHand, ArmedCards.BusinessLogic.DomainServices insertGameRoundCard, ArmedCards.BusinessLogic.AppServices updateGame ) : System
shuffleCards ArmedCards.BusinessLogic.DomainServices
excludeCurrentHands ArmedCards.BusinessLogic.DomainServices
excludeByCount ArmedCards.BusinessLogic.DomainServices
calculateDrawCount Base
createHand Base
insertGameRoundCard ArmedCards.BusinessLogic.DomainServices
updateGame ArmedCards.BusinessLogic.AppServices
Résultat System

Execute() public méthode

Handle dealing cards to players in game
public Execute ( Entities game, System.Boolean dealQuestion ) : void
game Entities The game to deal cards for
dealQuestion System.Boolean Is a question card needed
Résultat void