Here is my code and as you can guess, I get the above error. Thanks for the answer. I'd really appreciate if you could also explain why gridworld has such a low functionality level. Is this a learning thing? I know I wouldn't be able to do as much as an expert would as a student, but there doesn't seem to be a lot to do in gridworld in terms of tweaking.
Location loc1 = new Location( 10, 3 ); Location loc2 = loc1.getAdjacentLocation( Location.WEST ); Location loc1.getAdjacentLocation(SOUTH); Location loc1.getAdjacentLocation(NORTHEAST); (new Location(2, 5)).getAdjacentLocation(NORTHEAST); (new Location(2, 5)).getAdjacentLocation(52); (new Location(2,5)).getAdjacentLocation(0); System.out.println( "loc1 = " + loc1 ); System.out.println( "loc2 = " + loc2 );