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