public Action step(Set<Action> options) { Room here = worldToPrivate.get(hunter.location()); if (path == null || path.isEmpty()) { return null; } Room next = path.remove(0); return hunter.move(privateToWorld.get(next), options); }
public boolean done(Set<Action> options) { // TODO verify still valid return path == null || path.isEmpty(); }