ARKBreedingStats.Form1.recalculateAllCreaturesValues C# (CSharp) Метод

recalculateAllCreaturesValues() приватный Метод

private recalculateAllCreaturesValues ( ) : void
Результат void
        private void recalculateAllCreaturesValues()
        {
            toolStripProgressBar1.Value = 0;
            toolStripProgressBar1.Maximum = creatureCollection.creatures.Count();
            toolStripProgressBar1.Visible = true;
            //Random rnd = new Random(); // TODO remove (for assigning random colors to all creatures)
            foreach (Creature c in creatureCollection.creatures)
            {
                //for (int i = 0; i < 6; i++)
                //    c.colors[i] = rnd.Next(7, 41); // TODO remove
                recalculateCreatureValues(c);
                toolStripProgressBar1.Value++;
            }
            toolStripProgressBar1.Visible = false;
        }
Form1