Example #1
0
 /// <summary>
 /// Just as ants can see various types of food, they can also visually detect
 /// other game elements. This method is called if the ant detects an ant from an
 /// enemy colony.
 /// Read more: "http://wiki.antme.net/en/API1:SpotsEnemy(Ant)"
 /// </summary>
 /// <param name="ant">spotted ant</param>
 public override void SpotsEnemy(Ant ant)
 {
     // Call behavior
     behavior.SpotsEnemy(ant);
 }