示例#1
0
 /// <summary>
 /// Creates a new instance of hunter behavior.
 /// </summary>
 /// <param name="ant">The ant to be controlled.</param>
 public HunterBehavior(ArndtBalkeClass ant)
     : base(ant)
 {
 }
示例#2
0
 /// <summary>
 /// Creates a new instance of gatherer behavior.
 /// </summary>
 /// <param name="ant">The ant to be controlled.</param>
 public GathererBehavior(ArndtBalkeClass ant)
     : base(ant)
 {
 }
示例#3
0
 /// <summary>
 /// Base constructor for all behaviors.
 /// </summary>
 /// <param name="ant">The ant to be controlled.</param>
 protected BaseBehavior(ArndtBalkeClass ant)
 {
     // Save ant reference
     _ant = ant;
 }