com.jme3.cinematic
Interface MotionPathListener


public interface MotionPathListener

Trigger the events appening on an motion path


Method Summary
 void onWayPointReach(MotionTrack motionControl, int wayPointIndex)
          Triggers every time the target reach a waypoint on the path
 

Method Detail

onWayPointReach

void onWayPointReach(MotionTrack motionControl,
                     int wayPointIndex)
Triggers every time the target reach a waypoint on the path

Parameters:
motionControl - the MotionTrack objects that reached the waypoint
wayPointIndex - the index of the way point reached