Class Main1

java.lang.Object
  |
  +--Main1

public class Main1
extends Object

Main1 contains the main method for exercise 2.1. The main method is not fully implemented; you have to insert the moves that move the robot to the target room (2, 0) of the maze.


Constructor Summary
Main1()
           
 
Method Summary
static void main(String[] args)
          Creates a maze of 4*4 rooms and moves a robot from the room (0, 2) to the room (2, 0).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main1

public Main1()
Method Detail

main

public static void main(String[] args)
Creates a maze of 4*4 rooms and moves a robot from the room (0, 2) to the room (2, 0). You have to add some robot moves at the end of the method.
Parameters:
args - is ignored.