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.


Variable Index

 o BACKWARD
Commands for the system.
 o FORWARD
Commands for the system.
 o LEFT
Commands for the system.
 o RIGHT
Commands for the system.
 o STOPPED
Commands for the system.

Constructor Index

 o MovitRobot()
Build the robot.

Method Index

 o backward()
Move backward.
 o clockwise()
Move clockwise.
 o counterClockwise()
Move counterclockwise.
 o forward()
Move forward.
 o io()
Get the controls.
 o main(String[])
Test the robot.
 o off()
Turn off the robot.
 o state()
What is the state of the robot.
 o stop()
Stop the robot.

Variables

 o FORWARD
 public static double FORWARD
Commands for the system.

 o BACKWARD
 public static double BACKWARD
Commands for the system.

 o LEFT
 public static double LEFT
Commands for the system.

 o RIGHT
 public static double RIGHT
Commands for the system.

 o STOPPED
 public static double STOPPED
Commands for the system.

Constructors

 o MovitRobot
 public MovitRobot()
Build the robot.

Methods

 o forward
 public void forward()
Move forward.

 o backward
 public void backward()
Move backward.

 o clockwise
 public void clockwise()
Move clockwise.

 o counterClockwise
 public void counterClockwise()
Move counterclockwise.

 o stop
 public void stop()
Stop the robot.

 o off
 public void off()
Turn off the robot.

 o main
 public static void main(String args[])
Test the robot.

 o state
 public int state()
What is the state of the robot.

Returns:
the state of the robot.
 o io
 public DataIO io()
Get the controls.

Returns:
the controls for the robot.

All Packages  Class Hierarchy  This Package  Previous  Next  Index