package thb.jeanluc.adventure.model;

import java.util.List;

/** An alternate room description shown while its conditions hold. */
public record DescriptionState(List<Condition> when, String text) {
    public DescriptionState {
        when = when == null ? List.of() : List.copyOf(when);
    }
}
