import becker.robots.*;

/*
    Assignment 1
    Fall 2002, BIT 115
*/

public class A1_Part_4 extends Object
{
   public static void main(String[] args)
   { 
        City theCity= new City();
        Robot Jo = new Robot(theCity, 1, 1, Direction.NORTH, 0);
        new Thing(theCity, -1, 1);
            
        new Wall(theCity, 2, 1, Direction.EAST);
        new Wall(theCity, 1, 2, Direction.SOUTH);
        new Wall(theCity, 1, -1, Direction.NORTH);
        
        new Wall(theCity, 3, 2, Direction.SOUTH);
        
        Jo.move();
        Jo.move();
        Jo.pickThing();
        Jo.turnLeft();
        Jo.move();
        Jo.move();      
        Jo.move();      

        Jo.turnLeft();
        Jo.move();

        Jo.turnLeft();
        Jo.move();

        Jo.putThing();

        Jo.turnLeft();
        Jo.turnLeft();
        Jo.turnLeft();

        Jo.move();
        Jo.putThing();
        Jo.turnLeft();
        Jo.turnLeft();

        Jo.move();
        Jo.turnLeft();
        Jo.move();

        Jo.pickThing();
        Jo.turnLeft();
        Jo.turnLeft();      

        Jo.move();

        Jo.turnLeft(); 
        Jo.putThing();      
        Jo.move();
    }
}


