org.robokind.api.motion.messaging
Class MoveFrameListener
java.lang.Object
org.robokind.api.motion.messaging.MoveFrameListener
- All Implemented Interfaces:
- Listener<MotionFrameEvent>
public class MoveFrameListener
- extends Object
- implements Listener<MotionFrameEvent>
Listens for MotionFrameEvents and passes them a RobotMoverFrameSource.
- Author:
- Matthew Stevenson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveFrameListener
public MoveFrameListener()
setRobotFrameSource
public void setRobotFrameSource(RobotMoverFrameSource robotFrameSource)
- Sets the RobotMoverFrameSource to pass goal positions to.
- Parameters:
robotFrameSource - RobotMoverFrameSource to use
handleEvent
public void handleEvent(MotionFrameEvent event)
- Specified by:
handleEvent in interface Listener<MotionFrameEvent>
Copyright © 2011-2012. All Rights Reserved.