MZ.GeneticSimulation.DataModel.World.World C# (CSharp) 메소드

World() 공개 메소드

Initializes a new instance of the World class.
public World ( ) : System.Collections.Generic
리턴 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)));
            }
        }