I'm not sure what you mean to do with those statements, but a proper form would be:
Type variableName = methodName();
What you have is missing something.
Type: Posts; User: GregBrannon
I'm not sure what you mean to do with those statements, but a proper form would be:
Type variableName = methodName();
What you have is missing something.
I don't know gridworld, but I know that the following is not a legal Java statement:
Location loc1.getAdjacentLocation(SOUTH); // times 2