Exemplo n.º 1
0
 public Experimenter GetExperimenterForModel(string modelName)
 {
     if (!experimenters.ContainsKey(modelName))
     {
         experimenters[modelName] = new Experimenter(modelName, this, aex);
     }
     return(experimenters[modelName]);
 }
Exemplo n.º 2
0
        public TreeControl(Experimenter experimenter, Model model)
        {
            InitializeComponent();

            this.experimenter = experimenter;

            this.modelName = model.Name;

            this.DataContext = model;

            button.DataContext = player.DataContext = experimenter.GetSimulationState();

            InitShadowMaker();
        }
Exemplo n.º 3
0
 public Experimenter GetExperimenterForModel(string modelName)
 {
     if (!experimenters.ContainsKey(modelName)) experimenters[modelName] = new Experimenter(modelName, this, aex);
     return experimenters[modelName];
 }