org.robokind.api.motion.messaging
Class RobotMoveHandler

java.lang.Object
  extended by org.robokind.api.motion.utils.RobotMoverFrameSource
      extended by org.robokind.api.motion.messaging.RobotMoveHandler
All Implemented Interfaces:
org.jflux.api.core.Listener<MotionFrameEvent>, FrameSource<Robot.RobotPositionMap>, RobotFrameSource

public class RobotMoveHandler
extends RobotMoverFrameSource
implements org.jflux.api.core.Listener<MotionFrameEvent>

Listens for MotionFrameEvents and moves a Robot.

Author:
Matthew Stevenson

Constructor Summary
RobotMoveHandler(Robot robot)
           
 
Method Summary
 void handleEvent(MotionFrameEvent event)
           
 
Methods inherited from class org.robokind.api.motion.utils.RobotMoverFrameSource
getMovements, getRobot, move, setRobot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RobotMoveHandler

public RobotMoveHandler(Robot robot)
Method Detail

handleEvent

public void handleEvent(MotionFrameEvent event)
Specified by:
handleEvent in interface org.jflux.api.core.Listener<MotionFrameEvent>


Copyright © 2011-2013. All Rights Reserved.