Package ai.path.vector2f
Class Vector2fPath
java.lang.Object
ai.path.vector2f.Vector2fPath
- All Implemented Interfaces:
Path<org.joml.Vector2f>
- Since:
- 08.07.2021
- Author:
- Juyas
-
Constructor Summary
ConstructorDescriptionVector2fPath
(Node<org.joml.Vector2f> start, Node<org.joml.Vector2f> end, float cost) -
Method Summary
-
Constructor Details
-
Vector2fPath
-
-
Method Details
-
start
Description copied from interface:Path
The node where the path starts. -
end
Description copied from interface:Path
The node where the path ends. -
cost
public float cost()Description copied from interface:Path
The costs to take this path. An artificial value to order multiple paths by costs and to find a the path with the lowest cost which is considered the shortest.
-