示例#1
0
 /// <summary>
 /// Will be fired when the ant is under attack by a bug
 /// </summary>
 /// <param name="bug">attacking bug</param>
 public virtual void UnderAttack(Bug bug)
 {
 }
示例#2
0
 /// <summary>
 /// Will be fired when the ant spots a bug
 /// </summary>
 /// <param name="bug">the discovered bug</param>
 public virtual void SpotsEnemy(Bug bug)
 {
 }