import becker.robots.*;


class NestedWhileRobot extends Robot
{
    NestedWhileRobot(City c, int st, int ave, Direction dir, int num)
    {
        super(c, st, ave, dir, num);
    }

	 public void WalkIfThing()
	 {
	 
	 }
}

public class Nested_While extends Object
{
   public static void main(String[] args)
   { 
      City toronto = new City();

		// karel should move forwards	, since there's a Thing in the same
		// intersection
      NestedWhileRobot karel = new NestedWhileRobot(toronto, 3, 0, Direction.EAST, 0);
		new Thing(toronto, 3, 0); 
      Wall oops = new Wall(toronto, 3, 4, Direction.EAST);

		// bob should NOT move forwards, since there is NO Thing in the same
		// intersection
      NestedWhileRobot bob = new NestedWhileRobot(toronto, 4, 0, Direction.EAST, 0);
      new Wall(toronto, 4,4, Direction.EAST);
	
      karel.WalkIfThing();
		bob.WalkIfThing();   
   }
}


