Exemple #1
0
 //void based steeringbehaviours
 public void ObstacleAvoidenceOn()
 {
     if (!behaviours.Contains(ObstacleAvoidance.GetInstance()))
     {
         behaviours.Add(ObstacleAvoidance.GetInstance());
     }
 }
Exemple #2
0
 public void ObstacleAvoidenceOff()
 {
     behaviours.Remove(ObstacleAvoidance.GetInstance());
 }