Package com.mygdx.game.AI
Class Node
- java.lang.Object
-
- com.mygdx.game.AI.Node
-
public class Node extends java.lang.ObjectA node in the A* pathfinding graph
-
-
Field Summary
Fields Modifier and Type Field Description floatcost
-
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.Vector2getPosition()voidset(float x, float y)Sets position
-