de.jaetzold.art.examples
Class SimpleTrustyRobot

java.lang.Object
  |
  +--de.jaetzold.art.examples.SimpleTrustyRobot
All Implemented Interfaces:
de.jaetzold.art.examples.SimpleTrusty.Robot

public class SimpleTrustyRobot
extends Object
implements de.jaetzold.art.examples.SimpleTrusty.Robot


Field Summary
protected  int backupTime
           
protected  DriveTrain driveTrain
           
protected  BooleanSensor leftSensor
           
protected  BooleanSensor rightSensor
           
protected  int turnTime
           
 
Constructor Summary
SimpleTrustyRobot()
           
SimpleTrustyRobot(DriveTrain driveTrain, int backupTime, int turnTime, RobotInterface iface)
           
 
Method Summary
 int getBackupTime()
           
 DriveTrain getDriveTrain()
           
 BooleanSensor getLeftBumper()
           
 BooleanSensor getRightBumper()
           
 int getTurnTime()
           
static void main(String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

driveTrain

protected DriveTrain driveTrain

leftSensor

protected BooleanSensor leftSensor

rightSensor

protected BooleanSensor rightSensor

backupTime

protected int backupTime

turnTime

protected int turnTime
Constructor Detail

SimpleTrustyRobot

public SimpleTrustyRobot(DriveTrain driveTrain,
                         int backupTime,
                         int turnTime,
                         RobotInterface iface)

SimpleTrustyRobot

public SimpleTrustyRobot()
Method Detail

getDriveTrain

public DriveTrain getDriveTrain()
Specified by:
getDriveTrain in interface de.jaetzold.art.examples.SimpleTrusty.Robot

getLeftBumper

public BooleanSensor getLeftBumper()
Specified by:
getLeftBumper in interface de.jaetzold.art.examples.SimpleTrusty.Robot

getRightBumper

public BooleanSensor getRightBumper()
Specified by:
getRightBumper in interface de.jaetzold.art.examples.SimpleTrusty.Robot

getBackupTime

public int getBackupTime()
Specified by:
getBackupTime in interface de.jaetzold.art.examples.SimpleTrusty.Robot

getTurnTime

public int getTurnTime()
Specified by:
getTurnTime in interface de.jaetzold.art.examples.SimpleTrusty.Robot

main

public static void main(String[] argv)