Package com.prineside.tdi2
Class PathNode
java.lang.Object
com.prineside.tdi2.PathNode
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.badlogic.gdx.utils.Array<com.badlogic.gdx.ai.pfa.Connection<PathNode>>
float
int
int[]
float
float
int
int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
connections
-
index
public int index -
x
public int x -
y
public int y -
cost
public float cost -
tileCenterX
public float tileCenterX -
tileCenterY
public float tileCenterY -
teleportIndices
public int[] teleportIndices
-
-
Constructor Details
-
PathNode
public PathNode()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) - Specified by:
write
in interfacecom.esotericsoftware.kryo.KryoSerializable
-
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
read
in interfacecom.esotericsoftware.kryo.KryoSerializable
-
hashCode
public int hashCode() -
equals
-
setup
public void setup(int index, int x, int y, float cost) -
toString
-