
/**
 * Display the message "HELLO" using Beepers
 * 
 * @author Russell C. Bjork
 * @version January 9, 2006
 */
import kareltherobot.*;

public class Problem3_5 implements Runnable, Directions
{
    /** Main method - set up the world and start the program
     */
    public static void main(String [] args)
    { 
      	World.setSize(21, 21);	// The world needs to be a bit bigger this time
        World.readWorld("Problem3_5.world");
        World.setVisible(true);
        World.setupThread(new Problem3_5());
        World.setTrace(false);
        World.showSpeedControl(true);
    }
    
    /** Method that describes the task to be performed.
     */  
    public void run()
    {
        HelloDisplayerRobot karel = new HelloDisplayerRobot(1, 1, North, 100);
        karel.displayHello();
        karel.turnOff();
    }
}