class IntRangeVariantGenerator implements IGameVariantGenerator {

    @Override
    public Set<IGameVariant> getVariants() {
        final LinkedHashSet<IGameVariant> result = new LinkedHashSet<>();
        for (int i = min; i <= max; i++) {
            result.add(new IntGameVariant(i));
        }
        return result;
    }

}