Ejemplo n.º 1
0
 /// <summary>
 /// If the ant’s destination is a piece of fruit, this method is called as soon
 /// as the ant reaches its destination. It means that the ant is now near enough
 /// to its destination/target to interact with it.
 /// Read more: "http://wiki.antme.net/en/API1:DestinationReached(Fruit)"
 /// </summary>
 /// <param name="fruit">reached fruit</param>
 public override void DestinationReached(Fruit fruit)
 {
     // Call behavior
     behavior.DestinationReached(fruit);
 }