コード例 #1
0
ファイル: Game.cs プロジェクト: thebuchanan3/Blackjack
 public IGameBuilder LogicBuilderIs(ILogicBuilder builder)
 {
     _logicBuilder = builder;
     return this;
 }
コード例 #2
0
ファイル: Game.cs プロジェクト: thebuchanan3/Blackjack
 public GameBuilder(IModuleFactory moduleFactory, ILogicBuilder logicBuilder, IDealerBuilder dealerBuilder, IDeckBuilder deckBuilder, ITableBuilder tableBuilder, IPlayerBuilder playerBuilder)
 {
     _moduleFactory = moduleFactory;
     _logicBuilder = logicBuilder;
     _dealerBuilder = dealerBuilder;
     _deckBuilder = deckBuilder;
     _tableBuilder = tableBuilder;
     _playerBuilder = playerBuilder;
 }