org.robokind.api.motion.messaging
Class MoveFrameListener

java.lang.Object
  extended by 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

Constructor Summary
MoveFrameListener()
           
 
Method Summary
 void handleEvent(MotionFrameEvent event)
           
 void setRobotFrameSource(RobotMoverFrameSource robotFrameSource)
          Sets the RobotMoverFrameSource to pass goal positions to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveFrameListener

public MoveFrameListener()
Method Detail

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.