Example #1
0
 /// <summary>
 /// Clones this creature and adds it at a random location in the world
 /// </summary>
 /// <returns>The creature that has just been created</returns>
 public Creature userCloneCreature()
 {
     Creature c = new Creature(this.getDna());
     c.setWorld(this.world);
     world.addCreature(c);
     return c;
 }