package thb.jeanluc.adventure.model;

import java.util.List;

/** A condition-gated exit with a message shown when it is blocked. */
public record ExitLock(List<Condition> requires, String blocked) {
    public ExitLock {
        requires = requires == null ? List.of() : List.copyOf(requires);
    }
}
