예제 #1
0
 public Game(
     ISpin spinner, IUserInterface userInterface, IPlayer player, IAmountValidator amountValidator)
 {
     this.player          = player;
     this.spinner         = spinner;
     this.amountValidator = amountValidator;
     this.userInterface   = userInterface;
 }
예제 #2
0
 public SpinState(
     ILoggerFactory loggerFactory, IOutput output, IInteraction interaction, IWallet wallet, ISpin spin)
     : base(loggerFactory, output, interaction, wallet)
 {
     _spin = spin;
 }