Exemple #1
0
 // RIGHT HERE IS WHERE YOU SHOULD ADD NEW GENES!
 Genome generateDefaultGenome()
 {
     Genome result = new Genome(this);
     result.addGene("Ferocity", new Chromosome(0.8, 0.1f));
     result.addGene("Cunning", new Chromosome(0.4, 0.5f));
     result.addGene("PackSense", new Chromosome(0.5, 0.8f));
     return result;
 }