Interface PathUpdatesEventsListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit onPathSession(PathSession pathSession, Path calculatedPath) This function is triggered every time there is a path update.
      Unit onPathSession(PathSession pathSession, PathSessionState state) This function is triggered every time there is a change on the Path Session state.
      Unit onLiveDirectionUpdate(PathSession pathSession, LiveDirection liveDirection) This function is triggered every time there is a change the current live direction, meaning the exact next step the user needs to take while pathfinding.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onPathSession

         Unit onPathSession(PathSession pathSession, Path calculatedPath)

        This function is triggered every time there is a path update.

        Parameters:
        pathSession - The path session that triggers the update.
      • onPathSession

         Unit onPathSession(PathSession pathSession, PathSessionState state)

        This function is triggered every time there is a change on the Path Session state.

        Parameters:
        pathSession - The path session that triggered the event.
        state - The new state.
      • onLiveDirectionUpdate

         Unit onLiveDirectionUpdate(PathSession pathSession, LiveDirection liveDirection)

        This function is triggered every time there is a change the current live direction, meaning the exact next step the user needs to take while pathfinding.

        Parameters:
        pathSession - The path session that triggered the event.
        liveDirection - The live direction the user needs to take