TransientPath

public class TransientPath implements IPath

Class TransientPath. Provides transientpath functionality for the Hytale server.

java.lang.Object > TransientPath

Field Summary

path

final TransientPath path

Field path.

position

final Vector3d position

Field position.

directionVector

final Vector3d directionVector

Field directionVector.

rotationVector

final Vector3f rotationVector

Field rotationVector.

instruction

final RelativeWaypointDefinition instruction

Field instruction.

Method Detail

TransientPath

public public TransientPath ()

Method TransientPath.

addWaypoint

public void addWaypoint (@Nonnull final Vector3d position, @Nonnull final Vector3f rotation)

Method addWaypoint.

Parameters:
@Nonnull final Vector3d position
@Nonnull final Vector3f rotation

SimplePathWaypoint

public new SimplePathWaypoint ((short)

Method SimplePathWaypoint.

Parameters:
(short (short

Transform

public new Transform (position.x, position.y, position.z, rotation.getPitch()

Method Transform.

Parameters:
position.x position.x
position.y position.y
position.z position.z
rotation.getPitch( rotation.getPitch(

getId

public UUID getId ()

Method getId.

getName

public String getName ()

Method getName.

getPathWaypoints

public List getPathWaypoints ()

Method getPathWaypoints.

length

public int length ()

Method length.

get

public SimplePathWaypoint get (final int index)

Method get.

Parameters:
final int index

buildPath

static IPath buildPath (@Nonnull final Vector3d origin, @Nonnull final Vector3f rotation, @Nonnull final Queue instructions, final double scale)

Method buildPath.

Parameters:
@Nonnull final Vector3d origin
@Nonnull final Vector3f rotation
@Nonnull final Queue instructions
final double scale