Class SeparationBehavior

java.lang.Object
net.citizensnpcs.api.ai.flocking.SeparationBehavior
All Implemented Interfaces:
FlockBehavior

public class SeparationBehavior extends Object implements FlockBehavior
Implements separation flocking with a particular weight i.e. steering a flock of NPCs away from each other.
See Also:
  • Constructor Details

    • SeparationBehavior

      public SeparationBehavior(double weight)
    • SeparationBehavior

      public SeparationBehavior(double weight, double separation)
  • Method Details