import java.awt.Color;

public class Squirrels extends RandomWalker {

	protected boolean inTurn;
	protected Color natural = Color.lightGray;

	public Color getColor()
	//Effects: Gets the color for the simulation of the object depending on the
	//natural color of the object and its current action.
	{

		return natural;
	}

	//	synchronized
	public void executeTurn() throws RuntimeException
	// Note: requires isInitialized is inherited from SimObject
	// EFFECTS: Picks a random direction and tries to move that way.
	//          If the move is successful, return true. If the move fails
	//          because the spot being attempted to move into is already
	//          occupied then return false.

	{
		inTurn = true;
		super.executeTurn();

		inTurn = false;
	}
}