Example #1
0
 public JoinGameInteractor(IJoinGameValidator validator, IGameGateway gameGateway, IPlayerGateway playerGateway)
 {
     this.Validator     = validator;
     this.GameGateway   = gameGateway;
     this.PlayerGateway = playerGateway;
 }
 public void Setup()
 {
     gameGateway = new GameGatewayInMemory();
     sut         = MakeSut();
 }
Example #3
0
 public CreateGameInteractor(ICreateGameValidator validator, ISessionGateway sessionGateway, IGameGateway gameGateway)
 {
     Validator      = validator;
     SessionGateway = sessionGateway;
     GameGateway    = gameGateway;
 }