Package becker.robots

Karel the Robot provides a gentle introduction to object-oriented programming via a simple robot which can move, turn left, pick things up, transport them and put them down again.

See:
          Description

Interface Summary
IColor An interface to add a color property to various robot entities.
IIterate<Element> The IIterate interface allows the same method to provide an iterator and to be used in a foreach loop.
ILabel An interface to provide colored entities in the robot world.
IPredicate A predicate says whether something is true or false about a Sim.
 

Class Summary
AppletRunner There are two ways to display a Robot program on a web page, both are documented here.
City A city contains intersections joined by streets and avenues.
CityView A graphical view of the city and its contents, including scrollbars to reveal different parts of the city.
Flasher A flasher is commonly used to mark construction hazards on streets and avenues.
Intersection Karel the Robot lives in a city composed of intersections connected by roads.
Light A light is a kind of thing that can be turned on to make it brighter and turned off to make it darker.
MazeCity A MazeCity contains walls in the form of a perfect maze.
Robot Robots exist on a rectangular grid of roads and can move, turn left ninety degrees, pick things up, carry things, and put things down.
RobotRC A Remote Control Robot, RobotRC for short, can be directed from a computer keyboard.
RobotSE A new kind of robot with extended capabilities such as turnAround, and turnRight.
RobotUIComponents A factory object that provides the major user interface components, making customized user interfaces easy to create.
Sim A Sim is an element of the robot city which participates in the simulation, namely a Thing (such as Walls, Lights), a Robot, or an Intersection.
StateChangeEvent Reflect a change of state event within the robot world.
Streetlight A Streetlight is a kind of Light that lights an intersection.
Thing A Thing is something that can exist on an intersection.
Wall A Wall will block the movement of a robot into or out of the intersection which contains it, depending on the robot's direction of travel and the orientation of the Wall.
 

Enum Summary
Direction Constants which define directions in the robot city.
StateChangeEventType  
 

Exception Summary
RobotException Report an error with the operation of a Robot such as running into a wall or attempting to pick or put a thing when it can't.
 

Package becker.robots Description

Karel the Robot provides a gentle introduction to object-oriented programming via a simple robot which can move, turn left, pick things up, transport them and put them down again.

An initialization file, becker.robots.ini is created the first time a program is run. The file includes various parameters affecting the user interface which may be customized by the user.