コード例 #1
0
 public PortWebView(
     GlobalGameUISingleton gameUserInterface,
     PortViewModel viewModel
     ) : base(gameUserInterface, viewModel)
 {
     _gameUi = gameUserInterface;
 }
コード例 #2
0
 public PlanetWebView(
     GlobalGameUISingleton gameUi,
     PlanetViewModel viewModel
     ) : base(gameUi, viewModel)
 {
     _gameUi = gameUi;
 }
コード例 #3
0
 public WebViewBase(
     GlobalGameUISingleton gameUiSingleton,
     TViewModel colonyViewModel
     )
 {
     _gameUserInterface = gameUiSingleton;
     ViewModel          = colonyViewModel;
 }
コード例 #4
0
        public GameInterfaceWebView(
            GlobalGameUISingleton gameUserInterface,
            NewChatManager chatManager,
            GameInterfaceViewModel gameInterfaceViewModel
            ) : base(gameUserInterface, gameInterfaceViewModel)
        {
            _chatManager = chatManager;

            _chatManager.ChatAdded += (sender, args) =>
            {
                AddChat(args.ChatJson);
            };
        }
コード例 #5
0
 public ColonyWebView(
     GlobalGameUISingleton gameUiSingleton,
     ColonyViewModel colonyViewModel
     ) : base(gameUiSingleton, colonyViewModel)
 {
 }
コード例 #6
0
 public SpaceWebView(
     GlobalGameUISingleton gameUserInterface,
     SpaceViewModel viewModel
     ) : base(gameUserInterface, viewModel)
 {
 }