// public MainWindow() { InitializeComponent(); TheMainWindow = this; if (MainMenuWindow == null) { MainMenuWindow = new MainMenu(); } if (GameWindow == null) { GameWindow = new GameWindow(); } if (Drawer == null) { Drawer = new MapEditorWindow(); } if (ScenarioWindow == null) { ScenarioWindow = new ScenarioSelectionWindow(); } if (HelpWindow == null) { HelpWindow = new HelpWindow(); } }
// public MainWindow() { InitializeComponent(); TheMainWindow = this; if (MainMenuWindow == null) MainMenuWindow = new MainMenu(); if (GameWindow == null) GameWindow = new GameWindow(); if (Drawer == null) Drawer = new MapEditorWindow(); if (ScenarioWindow == null) ScenarioWindow = new ScenarioSelectionWindow(); if (HelpWindow == null) HelpWindow = new HelpWindow(); }