@@ -0,0 +1,1048 @@
+public class Facing%0A%7B%0A    public char getNextFacting (char current, char action)%0A    %7B%0A        // no real error checking!%0A%0A        switch (current)%0A        %7B%0A            case Direction.NORTH:%0A            %7B%0A                if (action == Action.LEFT)%0A                    return Direction.EAST;%0A                else%0A                    return Direction.WEST;%0A            %7D%0A            case Direction.SOUTH:%0A            %7B%0A                if (action == Action.LEFT)%0A                    return Direction.WEST;%0A                else%0A                    return Direction.EAST;%0A            %7D%0A            case Direction.EAST:%0A            %7B%0A                if (action == Action.LEFT)%0A                    return Direction.SOUTH;%0A                else%0A                    return Direction.NORTH;%0A            %7D%0A            default:%0A            %7B%0A                if (action == Action.LEFT)%0A                    return Direction.NORTH;%0A                else%0A                    return Direction.SOUTH;%0A            %7D%0A        %7D%0A    %7D%0A%0A    private Facing ()%0A    %7B%0A    %7D%0A%7D

Update Facing.java