-
- All Implemented Interfaces:
-
com.pointrlabs.core.management.PTRListener
public interface PathUpdatesEventsListener implements PTRListener
-
-
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. -
-
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
-
-
-
-