Package | Description |
---|---|
net.tridentsdk.server.entity.ai.pathfind |
The entity AI implementation
|
Modifier and Type | Method and Description |
---|---|
Node |
Node.getRelative(int dx,
int dy,
int dz)
Get node relative to current.
|
Node |
Node.parent()
Get the current node parent.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.calculateH(Node target)
Calculate distance cost based on euclidean distance.
|
void |
Node.calculateHGF(Node target)
Calculate all movement values in one go.
|
double |
Node.distance(Node with)
Distance squared between this node and another
|
void |
Node.setParent(Node parent)
Set the node's parent.
|
Constructor and Description |
---|
Node(Node parent,
double x,
double y,
double z) |
Node(Node parent,
int x,
int y,
int z) |
Node(Node parent,
Position position) |
Path(Node end) |
Copyright © 2016. All rights reserved.