MZ.GeneticSimulation.DataModel.World.World C# (CSharp) Method

World() public method

Initializes a new instance of the World class.
public World ( ) : System.Collections.Generic
return System.Collections.Generic
        public World()
        {
            for (var i = 0; i < this.Species.Length; i++)
            {
                this.Species[i] = new List<Creature>(65536);
                this.Species[i].AddRange(Enumerable.Range(0, 1024).Select(_ => new Creature(i, this)));
            }
        }