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)); } }
internal void RemovePlayer(string username) { GamePM.RefreshSelectionList(); GameWindow.removePlayer(username); game.RemovePlayer(username); }