BuilderBodyMotionPath

public class BuilderBodyMotionPath extends BuilderBodyMotionBase

Class BuilderBodyMotionPath. Provides builderbodymotionpath functionality for the Hytale server.

java.lang.Object > BuilderBodyMotionBase > BuilderBodyMotionPath

Field Summary

pathWidth

protected double pathWidth

Field pathWidth.

nodeWidth

protected double nodeWidth

Field nodeWidth.

minRelativeSpeed

protected double minRelativeSpeed

Field minRelativeSpeed.

maxRelativeSpeed

protected double maxRelativeSpeed

Field maxRelativeSpeed.

minWalkDistance

protected double minWalkDistance

Field minWalkDistance.

maxWalkDistance

protected double maxWalkDistance

Field maxWalkDistance.

startAtNearestNode

protected boolean startAtNearestNode

Field startAtNearestNode.

direction

protected BodyMotionPath.Direction direction

Field direction.

minNodeDelay

protected double minNodeDelay

Field minNodeDelay.

maxNodeDelay

protected double maxNodeDelay

Field maxNodeDelay.

useNodeViewDirection

protected boolean useNodeViewDirection

Field useNodeViewDirection.

pickRandomAngle

protected boolean pickRandomAngle

Field pickRandomAngle.

Method Detail

BuilderBodyMotionPath

public public BuilderBodyMotionPath ()

Method BuilderBodyMotionPath.

build

public BodyMotionPath build (@Nonnull final BuilderSupport builderSupport)

Method build.

Parameters:
@Nonnull final BuilderSupport builderSupport

getShortDescription

public String getShortDescription ()

Method getShortDescription.

getLongDescription

public String getLongDescription ()

Method getLongDescription.

registerTags

public void registerTags (@Nonnull final Set tags)

Method registerTags.

Parameters:
@Nonnull final Set tags

getBuilderDescriptorState

public BuilderDescriptorState getBuilderDescriptorState ()

Method getBuilderDescriptorState.

readConfig

public BuilderBodyMotionPath readConfig (@Nonnull final JsonElement data)

Method readConfig.

Parameters:
@Nonnull final JsonElement data

getPathWidth

public double getPathWidth ()

Method getPathWidth.

getNodeWidth

public double getNodeWidth ()

Method getNodeWidth.

getMinRelativeSpeed

public double getMinRelativeSpeed ()

Method getMinRelativeSpeed.

getMaxRelativeSpeed

public double getMaxRelativeSpeed ()

Method getMaxRelativeSpeed.

getMinWalkDistance

public double getMinWalkDistance ()

Method getMinWalkDistance.

getMaxWalkDistance

public double getMaxWalkDistance ()

Method getMaxWalkDistance.

isStartAtNearestNode

public boolean isStartAtNearestNode ()

Method isStartAtNearestNode.

getDirection

public BodyMotionPath.Direction getDirection ()

Method getDirection.

getShape

public BodyMotionPath.Shape getShape (@Nonnull final BuilderSupport support)

Method getShape.

Parameters:
@Nonnull final BuilderSupport support

getMinNodeDelay

public double getMinNodeDelay ()

Method getMinNodeDelay.

getMaxNodeDelay

public double getMaxNodeDelay ()

Method getMaxNodeDelay.

isUseNodeViewDirection

public boolean isUseNodeViewDirection ()

Method isUseNodeViewDirection.

getDelayScaleRange

public double[] getDelayScaleRange (@Nonnull final BuilderSupport support)

Method getDelayScaleRange.

Parameters:
@Nonnull final BuilderSupport support

getPercentDelayRange

public double[] getPercentDelayRange (@Nonnull final BuilderSupport support)

Method getPercentDelayRange.

Parameters:
@Nonnull final BuilderSupport support

isPickRandomAngle

public boolean isPickRandomAngle ()

Method isPickRandomAngle.

getViewSegments

public int getViewSegments (@Nonnull final BuilderSupport support)

Method getViewSegments.

Parameters:
@Nonnull final BuilderSupport support