Interface RandomGenerator

All Known Implementing Classes:
NSCGenerator, StoryTagGenerator, SWNNPCGenerator

public interface RandomGenerator
  • Method Details

    • builder

      static RandomGeneratorBuilder builder()
    • contains

      static boolean contains(List<de.rpgframework.classification.Classification<?>> list, de.rpgframework.classification.ClassificationType type)
    • getValueOf

      static <T> T getValueOf(List<de.rpgframework.classification.Classification<?>> list, de.rpgframework.classification.ClassificationType type)
    • getId

      String getId()
      Short and unique identifier for this generator
    • getType

      GeneratorType getType()
    • getRequiredVariables

      Collection<de.rpgframework.classification.ClassificationType> getRequiredVariables()
    • getProvidedData

      Collection<DataType> getProvidedData()
      What kind of data is provided
    • matchesFilter

      boolean matchesFilter(de.rpgframework.classification.Classification<?> filter)
    • understandsHint

      boolean understandsHint(de.rpgframework.classification.ClassificationType filter)
    • generate

      Object generate(VariableHolderNode context)