コード例 #1
0
ファイル: ArndtBalkeClass.cs プロジェクト: Nilsio63/AntMe
 /// <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 a
 /// friendly colony (an ant on the same team).
 /// Read more: "http://wiki.antme.net/en/API1:SpotsTeammate(Ant)"
 /// </summary>
 /// <param name="ant">spotted ant</param>
 public override void SpotsTeammate(Ant ant)
 {
     // Call behavior
     behavior.SpotsTeammate(ant);
 }