Beispiel #1
0
 public GameHub(IRequestContext requestContext,
                IGameInstanceUserMessageLogic gameInstanceUserMessageLogic,
                IGameInstanceMapper gameInstanceMapper,
                IGameInstanceValidator gameInstanceValidator)
 {
     RequestContext = requestContext;
     GameInstanceUserMessageLogic = gameInstanceUserMessageLogic;
     GameInstanceMapper           = gameInstanceMapper;
     GameInstanceValidator        = gameInstanceValidator;
 }
Beispiel #2
0
 public UserGameController(IGameInstanceLogic gameInstanceLogic,
                           IGameInstanceMapper gameInstanceMapper,
                           IGameInstanceValidator gameInstanceValidator,
                           IGameInstanceUserMessageLogic gameInstanceUserMessageLogic,
                           IHubContext <GameHub> gameHubContext)
 {
     GameInstanceLogic            = gameInstanceLogic;
     GameInstanceMapper           = gameInstanceMapper;
     GameInstanceValidator        = gameInstanceValidator;
     GameInstanceUserMessageLogic = gameInstanceUserMessageLogic;
     GameHubContext = gameHubContext;
 }
 public MancalaGameLogic(IGameInstanceMapper gameInstanceMapper)
 {
     GameInstanceMapper = gameInstanceMapper;
 }