SyllableSet
A special kind of syllable generator that constructs a finite set of syllables and only returns syllables from that set. Names constructed from a SyllableSet can give the appearance of cohesion as if they originated from a similar geographic region, culture, historical period, etc.
Implements: ISyllableGenerator, Archigen.IGenerator<System.String>, IRandomizable
Constructors
SyllableSet()
Initializes an empty set.
SyllableSet(System.String[] syllables)
Initializes a new instance of the SyllableSet class with the specified syllables.
SyllableSet(SyllableGenerator syllableGenerator, System.Int32 maxSyllableCount, System.Boolean forceUnique)
Methods
Next()
System.String
Generates a new syllable from the set.
Properties
ForceUnique
System.Boolean
MaximumGeneratedSyllables
System.Int32
The maximum number of syllables for the Syllabore.SyllableSet.SyllableGenerator to generate. This value has no effect if there is no Syllabore.SyllableSet.SyllableGenerator.
PossibleSyllables
System.Collections.Generic.List <System.String>
Random
System.Random
The instance used to simulate randomness.
Last updated