Ejemplo n.º 1
0
        public genChassis Clone()
        {
            genChassis cloned_gen = new genChassis(random);

            cloned_gen.vertices = new List <float>(this.vertices);
            return(cloned_gen);
        }
Ejemplo n.º 2
0
        public Genom(Random random)
        {
            this.random = random;

            chassis = new genChassis(random);
            wheel_1 = new genWheel(random);
            wheel_2 = new genWheel(random);
        }