Пример #1
0
 public void Init(bool SpecMode)
 {
     if (!initialized)
     {
         initialized = true;
         InitializeComponent();
         gameFrame.NavigationService.Navigate(GameWindow = new Game(manager, gameID, SpecMode, false));
         chatFrame.NavigationService.Navigate(GameChat   = new GameChat(manager, gameID));
         pmFrame.NavigationService.Navigate(GamePM       = new GamePM(manager, gameID));
     }
 }
Пример #2
0
 internal void RemovePlayer(string username)
 {
     GamePM.RefreshSelectionList();
     GameWindow.removePlayer(username);
     game.RemovePlayer(username);
 }