示例#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 sees an ant from the
 /// same colony.
 /// Read more: "http://wiki.antme.net/en/API1:SpotsFriend(Ant)"
 /// </summary>
 /// <param name="ant">spotted ant</param>
 public override void SpotsFriend(Ant ant)
 {
     // Call behavior
     behavior.SpotsFriend(ant);
 }