Class Vector2fMap

java.lang.Object
ai.path.vector2f.Vector2fMap
All Implemented Interfaces:
Map<org.joml.Vector2f>

public class Vector2fMap extends Object implements Map<org.joml.Vector2f>
Since:
08.07.2021
Author:
Juyas
  • Constructor Details

    • Vector2fMap

      public Vector2fMap(Node<org.joml.Vector2f> start, Node<org.joml.Vector2f> target)
  • Method Details

    • start

      public Node<org.joml.Vector2f> start()
      Description copied from interface: Map
      The start node for the pathfinding algorithm
      Specified by:
      start in interface Map<org.joml.Vector2f>
      Returns:
      the start node
    • target

      public Node<org.joml.Vector2f> target()
      Description copied from interface: Map
      The target node for the pathfinding algorithm
      Specified by:
      target in interface Map<org.joml.Vector2f>
      Returns:
      the target node