Esempio n. 1
0
 public FlockingBehaviour(DynamicGameEntity dynamicEntity) : base(dynamicEntity)
 {
     maxSteeringForce = 5.0F;
     separationAmount = 140.0F;
     cohesionAmount   = 1.0F;
     alignmentAmount  = 1.0F;
     wanderAmount     = 1.0F;
 }
 public SeekBehaviour(DynamicGameEntity dynamicEntity, Vector2 target) : base(dynamicEntity)
 {
     this.target = target;
 }
 public SteeringBehaviour(DynamicGameEntity dynamicEntity)
 {
     DynamicEntity = dynamicEntity;
 }
 public ArriveBehaviour(DynamicGameEntity dynamicEntity, Vector2 target, Decelaration decelaration) : base(dynamicEntity)
 {
     this.target       = target;
     this.decelaration = decelaration;
 }
 public FleeBehaviour(DynamicGameEntity dynamicEntity) : base(dynamicEntity)
 {
 }