import becker.robots.*;
import becker.io.*;

public class ICE_05_IO extends Object
{
    public static void main(String[] args)
    {
        City wallville = new City(10, 10);
        Robot rob = new Robot(wallville, 7, 0, Direction.EAST, 0);
        new Thing(wallville, 7, 0);
        new Thing(wallville, 7, 6);
        new Thing(wallville, 1, 6);

		TextInput in = new TextInput();
		int userInput;
				
		System.out.println("Please select from the following options:");
		System.out.println("1 - turn right");
		System.out.println("2 - move");
		System.out.println("3 - quit");
		userInput = in.readInt();
		in.readLine();
		
		System.out.println("userInput is: " + userInput);
		
		if( userInput == 2)
		{
			rob.move();
		}
    }
}
