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
Method addWaypoint.
- Parameters:
@Nonnull final Vector3dposition@Nonnull final Vector3frotation
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.xposition.xposition.yposition.yposition.zposition.zrotation.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.
buildPath
static
IPath
buildPath
(@Nonnull final Vector3d origin, @Nonnull final Vector3f rotation, @Nonnull final Queue instructions, final double scale)
Method buildPath.
- Parameters:
@Nonnull final Vector3dorigin@Nonnull final Vector3frotation@Nonnull final Queueinstructionsfinal doublescale