예제 #1
0
 /// <summary>
 /// Set's the fish's lowest priority to the default flocking behaviour
 /// </summary>
 public override void Move()
 {
     flockingBehaviour.SetPriority(0);   // Lowest priority
     flockingBehaviour.SetID(this.LightSourceID);
     AddAction(flockingBehaviour);
 }
예제 #2
0
 /// <summary>
 /// Set's the fish's lowest priority to the default flocking behaviour
 /// </summary>
 public override void Move()
 {
     flockingBehaviour.SetPriority(0);   // Lowest priority
     flockingBehaviour.SetID(GetID());
     AddAction(flockingBehaviour);
 }