void ReloadListBox()
 {
     columnListBox.ClearRows();
     foreach (var g in EditorData.GenomeTemplates)
     {
         columnListBox.AddRow(g.TemplateName);
     }
 }
Exemple #2
0
 void ReloadListBox()
 {
     columnListBox.ClearRows();
     foreach (var sp in spawnPointList)
     {
         columnListBox.AddRow(sp.Name);
     }
 }
 void ReloadListBox()
 {
     columnListBox.ClearRows();
     foreach (var t in EditorData.EntityTemplates)
     {
         columnListBox.AddRow(t.TemplateName, t.Entity.GetType().ToString());
     }
 }
Exemple #4
0
 void ReloadListBox()
 {
     columnListBox.ClearRows();
     foreach (var gene in neuronList)
     {
         columnListBox.AddRow(neuronList.IndexOf(gene), gene.Name, gene.ID, gene.Bias.Value, gene.Connections.Count);
     }
 }
Exemple #5
0
 void ReloadListBox()
 {
     columnListBox.ClearRows();
     foreach (var gene in connections)
     {
         columnListBox.AddRow(gene.ID, gene.Target, gene.IsOutputConnection.ToString(), gene.Weight.Value);
     }
 }
Exemple #6
0
 void ReloadListBox()
 {
     columnListBox.ClearRows();
     foreach (var c in connections)
     {
         columnListBox.AddRow(c.ID, c.Source.GeneID, c.Target.GeneID, c.Weight);
     }
 }
Exemple #7
0
 void ReloadListBox()
 {
     columnListBox.ClearRows();
     foreach (var n in neuronList)
     {
         columnListBox.AddRow(n.Name, n.GeneID, n.Bias, n.Connections.Count);
         columnListBox.Values[columnListBox.Values.Count - 1].ExtraValues = new object[] { n.ID };
     }
 }
Exemple #8
0
        void reloadList()
        {
            entitiesToDraw.ClearRows();

            foreach (var t in Result.EntityTypeList)
            {
                entitiesToDraw.AddRow(t.Name, "x");
            }
        }
        void ReloadListBox()
        {
            int order = 0;

            columnListBox.ClearRows();
            foreach (var g in geneList)
            {
                columnListBox.AddRow(order++, g.Name, g.ID, g.Value, g.Min, g.Max, g.IsMutable);
            }
        }
Exemple #10
0
        void reloadList()
        {
            spawnEntitiesList.ClearRows();

            foreach (var e in spawnPoint.SpawnClones)
            {
                spawnEntitiesList.AddRow(e.GetType().Name, 0);
                spawnEntitiesList.Values[spawnEntitiesList.Values.Count - 1].ExtraValues = new object[] { e };
            }
        }
Exemple #11
0
        void reloadPainterList()
        {
            entityPainters.ClearRows();

            foreach (var p in simulation.EntityPainters)
            {
                entityPainters.AddRow(p.GetType().Name);
                entityPainters.Values[entityPainters.Values.Count - 1].ExtraValues = new object[] { p };
            }
        }
Exemple #12
0
        void reloadEntitiesWithPaintersList()
        {
            entitiesWithPainters.ClearRows();

            foreach (var p in simulation.EntityPainters)
            {
                string painterName = p.GetType().Name;
                foreach (var e in p.EntityTypeList)
                {
                    entitiesWithPainters.AddRow(e.Name, painterName);
                }
            }
        }