Example #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();
        }
Example #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();
        }
Example #3
0
 public GameController(GameServiceClient service, BasicObservable <MatchState> state)
 {
     _service  = service;
     gameState = state;
 }
Example #4
0
 public GameController(GameServiceClient service, BasicObservable<MatchState> state)
 {
     _service = service;
     gameState = state;
 }