Ejemplo n.º 1
0
 public void RemoveBehavior(SteeringBehavior behavior)
 {
     behaviors.Remove(behavior);
 }
Ejemplo n.º 2
0
 public void ChangeActiveBehavior(Type type)
 {
     current = behaviors.First(b => b.GetType() == type);
 }
Ejemplo n.º 3
0
 public void AddBehavior(SteeringBehavior behavior)
 {
     behaviors.Add(behavior);
 }