public class SteeringForceEvade extends SteeringForceWithTarget
Class SteeringForceEvade. Provides steeringforceevade functionality for the Hytale server.
java.lang.Object > SteeringForceWithTarget > SteeringForceEvade
Field Summary
slowdownDistance
private
double
slowdownDistance
Field slowdownDistance.
stopDistance
private
double
stopDistance
Field stopDistance.
falloff
private
double
falloff
Field falloff.
squaredSlowdownDistance
private
double
squaredSlowdownDistance
Field squaredSlowdownDistance.
squaredStopDistance
private
double
squaredStopDistance
Field squaredStopDistance.
distanceDelta
private
double
distanceDelta
Field distanceDelta.
directionHint
private
float
directionHint
Field directionHint.
adhereToDirectionHint
private
boolean
adhereToDirectionHint
Field adhereToDirectionHint.
distanceSquared
final
double
distanceSquared
Field distanceSquared.
scale
final
double
scale
Field scale.
Method Detail
SteeringForceEvade
public
public
SteeringForceEvade
()
Method SteeringForceEvade.
setDistances
public
void
setDistances
(final double min, final double max)
Method setDistances.
- Parameters:
final doubleminfinal doublemax
setDirectionHint
public
void
setDirectionHint
(final float heading)
Method setDirectionHint.
- Parameters:
final floatheading
setAdhereToDirectionHint
public
void
setAdhereToDirectionHint
(final boolean adhereToDirectionHint)
Method setAdhereToDirectionHint.
- Parameters:
final booleanadhereToDirectionHint
getSlowdownDistance
public
double
getSlowdownDistance
()
Method getSlowdownDistance.
setSlowdownDistance
public
void
setSlowdownDistance
(final double slowdownDistance)
Method setSlowdownDistance.
- Parameters:
final doubleslowdownDistance
getStopDistance
public
double
getStopDistance
()
Method getStopDistance.
setStopDistance
public
void
setStopDistance
(final double stopDistance)
Method setStopDistance.
- Parameters:
final doublestopDistance
getFalloff
public
double
getFalloff
()
Method getFalloff.
setFalloff
public
void
setFalloff
(final double falloff)
Method setFalloff.
- Parameters:
final doublefalloff