class EnumGameVariantGenerator implements IGameVariantGenerator {

    @Override
    public Set<IGameVariant> getVariants() {
        final LinkedHashSet<IGameVariant> result = new LinkedHashSet<>();
        for (final K value : enumValues) {
            result.add(new EnumGameVariant<>(value, extractLabelCodeFunction));
        }
        return result;
    }

}