public static class ProceduralMessaging.AssociatedName
extends java.lang.Object
Thesaurus
to add variety.Modifier and Type | Field and Description |
---|---|
java.lang.String |
name |
Messaging.NounTrait |
pronoun |
StatefulRNG |
srng |
GapShuffler<java.lang.String> |
themes |
GapShuffler<java.lang.String> |
titles |
Constructor and Description |
---|
AssociatedName(java.lang.String name,
boolean cipherName,
Messaging.NounTrait pronoun,
java.lang.String[] themes,
java.lang.String... titles)
Creates an AssociatedName with the being's name as a String and any associated themes and titles as String
arrays, with a boolean after the name that determines whether the name should be "translated" using a
NaturalLanguageCipher to some other form.
|
AssociatedName(java.lang.String name,
boolean cipherName,
java.lang.String[] themes,
java.lang.String... titles)
Creates an AssociatedName with the being's name as a String and any associated themes and titles as String
arrays, with a boolean after the name that determines whether the name should be "translated" using a
NaturalLanguageCipher to some other form.
|
public java.lang.String name
public Messaging.NounTrait pronoun
public GapShuffler<java.lang.String> themes
public GapShuffler<java.lang.String> titles
public StatefulRNG srng
public AssociatedName(java.lang.String name, boolean cipherName, java.lang.String[] themes, java.lang.String... titles)
"Brunhilda", true, new String[]{"ice`noun`"}, "Goddess`noun` of Ice`nouns`", "Winter-Empress`noun`", "Heroine`noun` of the North"
,
it could use any of the terms in Thesaurus
associated with the category "ice`noun`
as themes,
could generate titles like "Mother of Blizzards", "Winter-Queen", and "Maiden of the North", and would not
actually show the name "Brunhilda" in use, instead producing some similar-length name using the
NaturalLanguageCipher that a ProceduralMessaging is created with (defaulting to generic fantasy names).
This overload always treats the being as if it is being addressed directly, in second-person singular form.name
- the String name for the being, which will be changed if cipherName
is truecipherName
- if true, the name will be changed using a NaturalLanguageCipher before being shownthemes
- a String array (which may be null) of words that may appear more often regarding this beingtitles
- a String array or vararg (which should probably not be null) of special titles for the beingpublic AssociatedName(java.lang.String name, boolean cipherName, Messaging.NounTrait pronoun, java.lang.String[] themes, java.lang.String... titles)
"Brunhilda", true, new String[]{"ice`noun`"}, "Goddess`noun` of Ice`nouns`", "Winter-Empress`noun`", "Heroine`noun` of the North"
,
it could use any of the terms in Thesaurus
associated with the category "ice`noun`
as themes,
could generate titles like "Mother of Blizzards", "Winter-Queen", and "Maiden of the North", and would not
actually show the name "Brunhilda" in use, instead producing some similar-length name using the
NaturalLanguageCipher that a ProceduralMessaging is created with (defaulting to generic fantasy names).
This overload allows the Messaging.NounTrait
to be specified, which allows various ways of addressing
the being (first person, second person, or third person; singular or plural; various gender options in the
third person).name
- the String name for the being, which will be changed if cipherName
is truecipherName
- if true, the name will be changed using a NaturalLanguageCipher before being shownpronoun
- a NounTrait enum that designates how this being should be addressed (often second person singular, but not always)themes
- a String array (which may be null) of words that may appear more often regarding this beingtitles
- a String array or vararg (which should probably not be null) of special titles for the beingCopyright © Eben Howard 2012–2022. All rights reserved.