public class Ship
{
    public Ship (boolean debug)
    {
        _facing = Direction.EAST;
        _position = new Coordinate(0, 0);
        _debug = debug;
    }

    public final char getFacing ()
    {
        return _facing;
    }

    public final Coordinate getPosition ()
    {
        return _position;
    }

    private char _facing;
    private Coordinate _position;
    private boolean _debug;
}
public class Ship
{
    public Ship (boolean debug)
    {
        _facing = Direction.EAST;
        _position = new Coordinate(0, 0);
        _debug = debug;
    }

    public final char getFacing ()
    {
        return _facing;
    }

    public final Coordinate getPosition ()
    {
        return _position;
    }

    public final void move (Vector<Command> commands)
    {
        Enumeration<Command> iter = commands.elements();

        while (iter.hasMoreElements())
        {
            Command c = iter.nextElement();

            switch (c.action())
            {
                case Action.EAST:
                {

                }
                break;
                case Action.WEST:
                {

                }
                break;
                case Action.NORTH:
                {

                }
                break;
                case Action.SOUTH:
                {

                }
                break;
                case Action.LEFT:
                {

                }
                break;
                case Action.RIGHT:
                {

                }
                break;
                case Action.FORWARD:
                {
                }
                break;
                default:
                {
                    System.out.println("Unknown action: "+action);
                }
                break;
            }
        }
    }

    private char _facing;
    private Coordinate _position;
    private boolean _debug;
}
Update Ship.java