예제 #1
0
        static Program()
        {
            var profile = new PlayerProfile();
            var stats = new PlayerStats();
            var gameList = new List<GameInformation>();
            var gameService = new GameServiceClient();
            var infoService = new InformationServiceClient();
            var state = new BasicObservable<MatchState>(new MatchState());
            infoController = new InformationController(infoService, profile, stats, gameList);
            gameController = new GameController(gameService, state);

            infoController.GetGameList();
        }
예제 #2
0
        static Program()
        {
            var profile     = new PlayerProfile();
            var stats       = new PlayerStats();
            var gameList    = new List <GameInformation>();
            var gameService = new GameServiceClient();
            var infoService = new InformationServiceClient();
            var state       = new BasicObservable <MatchState>(new MatchState());

            infoController = new InformationController(infoService, profile, stats, gameList);
            gameController = new GameController(gameService, state);

            infoController.GetGameList();
        }
예제 #3
0
 public GameController(GameServiceClient service, BasicObservable <MatchState> state)
 {
     _service  = service;
     gameState = state;
 }
예제 #4
0
 public GameController(GameServiceClient service, BasicObservable<MatchState> state)
 {
     _service = service;
     gameState = state;
 }