Interface IPathWaypoint

All Known Subinterfaces:
IPrefabPathWaypoint
All Known Implementing Classes:
PatrolPathMarkerEntity, SimplePathWaypoint

public interface IPathWaypoint
Created on 17/08/2018
  • Method Details

    • getOrder

      int getOrder()
      Returns the index of this waypoint within the ordered path
      Returns:
      index of the waypoint
    • getWaypointPosition

      org.joml.Vector3d getWaypointPosition(@Nonnull ComponentAccessor<EntityStore> componentAccessor)
      Returns the position of this waypoint
      Parameters:
      componentAccessor - The ComponentAccessor<EntityStore> for component access.
      Returns:
      waypoint position
    • getWaypointRotation

      Rotation3f getWaypointRotation(@Nonnull ComponentAccessor<EntityStore> componentAccessor)
      Returns the rotation of this waypoint
      Parameters:
      componentAccessor - The ComponentAccessor<EntityStore> for component access.
      Returns:
      waypoint rotation
    • getPauseTime

      double getPauseTime()
      Returns how long a pause is designated to be performed at the waypoint
      Returns:
      pause length
    • getObservationAngle

      float getObservationAngle()
      Returns the observation angle for the waypoint, i.e. how much an entity should be able to rotate while paused at it
      Returns:
      the observation angle