示例#1
0
 void PassGenes(Creature mother, Creature father)
 {
     this.viewDistance = Genetics.CombineGenes(
         mother.viewDistance, father.viewDistance);
     this.baseSpeed = Genetics.CombineGenes(
         mother.baseSpeed, father.baseSpeed);
 }