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);
 }