protected override void Accept(SteeringBehaviour behaviour)
 {
     _accept(new WeightedBehaviour(_weight, behaviour));
 }
 public WeightedBehaviour(Fix weight, SteeringBehaviour behaviour)
 {
     _weight    = weight;
     _behaviour = behaviour;
 }
 protected abstract void Accept(SteeringBehaviour behaviour);
 public CompositeBehaviourComponentFinalizer(AcceptSteeringBehaviour accept, SteeringBehaviour behaviour, TFinalizerResult result)
 {
     _accept    = accept;
     _behaviour = behaviour;
     _result    = result;
 }
Пример #5
0
 protected override void Accept(SteeringBehaviour behaviour)
 {
     _behaviour = behaviour;
 }
Пример #6
0
 private void AddBehaviour(SteeringBehaviour behaviour)
 {
     _behaviours.Add(behaviour);
 }