Class PathResult


  • public class PathResult
    extends java.lang.Object
    The type Path result.
    • Constructor Detail

      • PathResult

        public PathResult​(Vector movement)
        Instantiates a new Path result.
        Parameters:
        movement - the movement
      • PathResult

        public PathResult​(Vector movement,
                          java.util.List<PathPoint> movementList)
        Instantiates a new Path result.
        Parameters:
        movement - the movement
        movementList - the movement list
    • Method Detail

      • getMovement

        public Vector getMovement()
        Gets movement.
        Returns:
        the movement
      • getMovementList

        public java.util.List<PathPoint> getMovementList()
        Gets movement list.
        Returns:
        the movement list
      • getCost

        public float getCost()
        Gets cost.
        Returns:
        the cost