Beispiel #1
0
        protected override void WindowClosed()
        {
            this.resourcesVisualizer.Dispose();
            this.resourcesVisualizer = null;

            this.controlWorldMap.WorldMapController.IsActive = false;

            base.WindowClosed();
        }
Beispiel #2
0
        protected override void WindowOpening()
        {
            var controller = this.controlWorldMap.WorldMapController;

            this.resourcesVisualizer = new ClientWorldMapResourcesVisualizer(controller);

            controller.IsActive = true;
            this.controlWorldMap.CenterMapOnPlayerCharacter();

            base.WindowOpening();
        }