de.jaetzold.art.examples
Class SubsumptionTrustyBaseRobot
java.lang.Object
|
+--de.jaetzold.art.examples.SubsumptionTrustyBaseRobot
- All Implemented Interfaces:
- SubsumptionTrusty.Robot
- Direct Known Subclasses:
- SubsumptionTrustyAWTDemoRobot, SubsumptionTrustyFTDemoRobot, SubsumptionTrustyMSDemoRobot
- public class SubsumptionTrustyBaseRobot
- extends Object
- implements SubsumptionTrusty.Robot
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
trusty
protected Trusty trusty
leftSensor
protected BooleanSensor leftSensor
rightSensor
protected BooleanSensor rightSensor
SubsumptionTrustyBaseRobot
public SubsumptionTrustyBaseRobot(Trusty trusty,
RobotInterface iface)
SubsumptionTrustyBaseRobot
public SubsumptionTrustyBaseRobot()
throws Exception
getTrusty
public Trusty getTrusty()
- Specified by:
getTrusty
in interface SubsumptionTrusty.Robot
getLeftSensor
public BooleanSensor getLeftSensor()
- Specified by:
getLeftSensor
in interface SubsumptionTrusty.Robot
getRightSensor
public BooleanSensor getRightSensor()
- Specified by:
getRightSensor
in interface SubsumptionTrusty.Robot
main
public static void main(String[] argv)
throws Exception