AStarWithTarget

public class AStarWithTarget extends AStarBase

Class AStarWithTarget. Provides astarwithtarget functionality for the Hytale server.

java.lang.Object > AStarBase > AStarWithTarget

Field Summary

targetPosition

protected Vector3d targetPosition

Field targetPosition.

targetPositionIndex

protected long targetPositionIndex

Field targetPositionIndex.

progress

final Progress progress

Field progress.

node

final AStarNode node

Field node.

Method Detail

AStarWithTarget

public public AStarWithTarget ()

Method AStarWithTarget.

getTargetPosition

public Vector3d getTargetPosition ()

Method getTargetPosition.

getTargetPositionIndex

public long getTargetPositionIndex ()

Method getTargetPositionIndex.

createDebugHelper

public AStarDebugWithTarget createDebugHelper (@Nonnull final HytaleLogger logger)

Method createDebugHelper.

Parameters:
@Nonnull final HytaleLogger logger

initComputePath

Method initComputePath.

Parameters:
@Nonnull final Ref ref
@Nonnull final Vector3d start
@Nonnull final Vector3d end
final AStarEvaluator evaluator
@Nonnull final MotionController motionController
@Nonnull final ProbeMoveData probeMoveData
@Nonnull final AStarNodePoolProvider nodePoolProvider
@Nonnull final ComponentAccessor componentAccessor

findClosestPath

public float findClosestPath ()

Method findClosestPath.