classpublicPriority 3
AStarNode
com.hypixel.hytale.server.npc.navigation.AStarNode
implements IWaypoint
15
Methods
15
Public Methods
11
Fields
1
Constructors
Constants
AStarNodeENTRY_NODE_TAG= new AStarNode(0)
Constructors
public
AStarNode(int numDirections)Methods
Public Methods (15)
public
void adjustOptimalPath(AStarNode parentNode, float deltaCost, int direction)public
void close()public
float getEstimateToGoal()public
int getLength()@Override
public
Vector3d getPosition()@Nonnull@Override
public
long getPositionIndex()public
int getPredecessorDirection()public
AStarNode[] getSuccessors()@Nonnull
public
float getTotalCost()public
float getTravelCost()public
boolean isInvalid()public
boolean isOpen()public
void setNextNode(AStarNode next, int length)public
void setSuccessor(int directionIndex, AStarNode node, int inverseDirectionIndex, float cost)public
String toString()@Nonnull@Override
Fields
Protected Fields (11)
protected
float estimateToGoalprotected
int lengthprotected
AStarNode nextPathNodeprotected
boolean openprotected
long positionIndexprotected
AStarNode predecessorprotected
int predecessorDirectionprotected
float[] stepCostprotected
AStarNode[] successorsprotected
float totalCostprotected
float travelCostRelated Classes
Used By