All Packages Class Hierarchy This Package Previous Next Index
Class pinball.part.MovitRobot
java.lang.Object
|
+----pinball.part.MovitRobot
- public class MovitRobot
- extends Object
A robot that moves about.
-
BACKWARD
- Commands for the system.
-
FORWARD
- Commands for the system.
-
LEFT
- Commands for the system.
-
RIGHT
- Commands for the system.
-
STOPPED
- Commands for the system.
-
MovitRobot()
- Build the robot.
-
backward()
- Move backward.
-
clockwise()
- Move clockwise.
-
counterClockwise()
- Move counterclockwise.
-
forward()
- Move forward.
-
io()
- Get the controls.
-
main(String[])
- Test the robot.
-
off()
- Turn off the robot.
-
state()
- What is the state of the robot.
-
stop()
- Stop the robot.
FORWARD
public static double FORWARD
- Commands for the system.
BACKWARD
public static double BACKWARD
- Commands for the system.
LEFT
public static double LEFT
- Commands for the system.
RIGHT
public static double RIGHT
- Commands for the system.
STOPPED
public static double STOPPED
- Commands for the system.
MovitRobot
public MovitRobot()
- Build the robot.
forward
public void forward()
- Move forward.
backward
public void backward()
- Move backward.
clockwise
public void clockwise()
- Move clockwise.
counterClockwise
public void counterClockwise()
- Move counterclockwise.
stop
public void stop()
- Stop the robot.
off
public void off()
- Turn off the robot.
main
public static void main(String args[])
- Test the robot.
state
public int state()
- What is the state of the robot.
- Returns:
- the state of the robot.
io
public DataIO io()
- Get the controls.
- Returns:
- the controls for the robot.
All Packages Class Hierarchy This Package Previous Next Index