protected override void WindowClosed() { this.resourcesVisualizer.Dispose(); this.resourcesVisualizer = null; this.controlWorldMap.WorldMapController.IsActive = false; base.WindowClosed(); }
protected override void WindowOpening() { var controller = this.controlWorldMap.WorldMapController; this.resourcesVisualizer = new ClientWorldMapResourcesVisualizer(controller); controller.IsActive = true; this.controlWorldMap.CenterMapOnPlayerCharacter(); base.WindowOpening(); }