Description: This class models a turtle in the habitat. Each turtle is described by its location and the direction in which the turtle is moving.
The turtle can move to the next cell and turn its direction to the right or to the left.
Also, this class provides methods to check if the next location is empty, to check the color of its next and current location, and to paint its current location.
To Search:
File list (Check if you may need any files):
content
.......\empty.gif
.......\finish-cell.gif
.......\layout-empty.gif
.......\layout-followTheColorSigns.bmp
.......\layout-followTheColorSigns.gif
.......\layout-followTheYellowRoad.bmp
.......\layout-followTheYellowRoad.gif
.......\layout-maze.gif
.......\layout-randomWalker.bmp
.......\layout-randomWalker.gif
.......\layout-wallFollower.gif
.......\start-cell.gif
.......\turtle-0.gif
.......\turtle-1.gif
.......\turtle-2.gif
.......\turtle-3.gif
.......\turtle-error.gif
.......\turtleMazeCommands.html
.......\turtleMazeMain.html
class
.....\Cell.class
.....\Habitat.class
.....\HabitatElement.class
.....\Simulation.class
.....\Turtle.class
.....\TurtleMazeBehaviors.class
.....\TurtleMazeBehaviorsServlet.class
.....\TurtleMazeBehaviorsSimulation.class
work
....\TurtleMazeBehaviors.java