コード例 #1
0
ファイル: Play.cs プロジェクト: kwmcrell/ArmedCards
        public Play(DS.GamePlayerCard.Base.IPlay playCard,
					AS.Game.Base.ISelect selectGame,
                    AS.Hubs.Base.ISendMessage sendMessage,
					AS.Game.Base.IUpdate updateGame)
        {
            this._playCard = playCard;
            this._selectGame = selectGame;
            this._sendMessage = sendMessage;
            this._updateGame = updateGame;
        }
コード例 #2
0
ファイル: Deal.cs プロジェクト: kwmcrell/ArmedCards
        public Deal(DS.Card.Base.IShuffle shuffleCards,
					DS.Card.Base.IExcludeCurrentHands excludeCurrentHands,
					DS.Card.Base.IExcludeByCount excludeByCount,
					Base.ICalculateDrawCount calculateDrawCount,
					Base.ICreateHand createHand,
					DS.GameRoundCard.Base.IInsert insertGameRoundCard,
                    AS.Game.Base.IUpdate updateGame)
        {
            this._shuffleCards = shuffleCards;
            this._excludeCurrentHands = excludeCurrentHands;
            this._excludeByCount = excludeByCount;
            this._calculateDrawCount = calculateDrawCount;
            this._createHand = createHand;
            this._insertGameRoundCard = insertGameRoundCard;
            this._updateGame = updateGame;
        }
コード例 #3
0
ファイル: Leave.cs プロジェクト: kwmcrell/ArmedCards
        public Leave(DS.Game.Base.ILeave leaveGame, 
					 Game.Base.ISelect selectGame,
                     Hubs.Base.ISendMessage sendMessage,
					 GameRound.Base.IStart startRound,
					 GameRound.Base.IDelete deleteRound,
					 Base.IUpdate updateGame,
                     GamePlayerCard.Base.IDeal dealCards)
        {
            this._leaveGame = leaveGame;
            this._selectGame = selectGame;
            this._sendMessage = sendMessage;
            this._startRound = startRound;
            this._deleteRound = deleteRound;
            this._updateGame = updateGame;
            this._dealCards = dealCards;
        }