public void Init(MapEditorController controller, MapEditorFullModel model)
        {
            this.controller = controller;

            context = model.GetScenario();
            model.ScenarioChangedEvent += this.ChangeScenario;
        }
 public override void Visit(MapEditorFullModel model)
 {
     scenario = model.GetScenario();
     if (scenario != prevScenario)
     {
         scenarioChanged = true;
     }
     base.Visit(model);
 }
 public void Init(MapEditorController controller, MapEditorFullModel model)
 {
     this.controller = controller;
     SetScenario(model.GetScenario());
     model.ScenarioChangedEvent += new ZRTSModel.EventHandlers.ScenarioChangedHandler(ChangeScenario);
 }