Package com.mygdx.game.AI
Class Node
- java.lang.Object
-
- com.mygdx.game.AI.Node
-
public class Node extends java.lang.Object
A node in the A* pathfinding graph
-
-
Field Summary
Fields Modifier and Type Field Description float
cost
-
Constructor Summary
Constructors Constructor Description Node(float x, float y)
Position the node exists at
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.badlogic.gdx.math.Vector2
getPosition()
Position the node exists atvoid
set(float x, float y)
Sets position
-