Interface MotionPathListener


public interface MotionPathListener
Trigger the events happening on a motion path
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onWayPointReach(MotionEvent motionControl, int wayPointIndex)
    Triggers every time the target reach a waypoint on the path
  • Method Details

    • onWayPointReach

      void onWayPointReach(MotionEvent motionControl, int wayPointIndex)
      Triggers every time the target reach a waypoint on the path
      Parameters:
      motionControl - the MotionEvent objects that reached the waypoint
      wayPointIndex - the index of the way point reached