Пример #1
0
 /// <summary>
 /// This method is called if an ant dies. It informs you that the ant has
 /// died. The ant cannot undertake any more actions from that point forward.
 /// Read more: "http://wiki.antme.net/en/API1:HasDied"
 /// </summary>
 /// <param name="kindOfDeath">Kind of Death</param>
 public override void HasDied(KindOfDeath kindOfDeath)
 {
     // Call behavior
     behavior.HasDied(kindOfDeath);
 }