Class NSCGenerator
java.lang.Object
de.rpgframework.random.NSCGenerator
- All Implemented Interfaces:
RandomGenerator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(VariableHolderNode context) protected Classification<?> getHint(ClassificationType needle, Collection<Classification<?>> haystack) getId()Short and unique identifier for this generatorWhat kind of data is providedgetType()booleanmatchesFilter(Classification<?> filter) booleanunderstandsHint(ClassificationType filter)
-
Field Details
-
RANDOM
-
-
Constructor Details
-
NSCGenerator
public NSCGenerator()
-
-
Method Details
-
getId
Description copied from interface:RandomGeneratorShort and unique identifier for this generator- Specified by:
getIdin interfaceRandomGenerator- See Also:
-
getType
- Specified by:
getTypein interfaceRandomGenerator- See Also:
-
matchesFilter
- Specified by:
matchesFilterin interfaceRandomGenerator- See Also:
-
understandsHint
- Specified by:
understandsHintin interfaceRandomGenerator- See Also:
-
getHint
protected Classification<?> getHint(ClassificationType needle, Collection<Classification<?>> haystack) -
generate
- Specified by:
generatein interfaceRandomGenerator- See Also:
-
getRequiredVariables
- Specified by:
getRequiredVariablesin interfaceRandomGenerator- See Also:
-
getProvidedData
Description copied from interface:RandomGeneratorWhat kind of data is provided- Specified by:
getProvidedDatain interfaceRandomGenerator- See Also:
-