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

Implementation of Base.IDeal
Inheritance: Base.IDeal
Show file Open project: kwmcrell/ArmedCards

Public Methods

Method 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

Method Description
CreateQuestion ( IEnumerable cards, Entities game ) : Entities.GameRoundCard

Method Details

Deal() public method

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
return System

Execute() public method

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
return void