Package | Description |
---|---|
me.lihq.game | |
me.lihq.game.people |
Modifier and Type | Field and Description |
---|---|
private AbstractPerson.Personality |
ConversationManagement.tempQuestionStyle
This stores the style of questioning for how the player wants to ask the question
|
Modifier and Type | Method and Description |
---|---|
private AbstractPerson.Personality |
ConversationManagement.convertToQuestionStyle(int style)
Takes an int and returns a personality style
|
Modifier and Type | Field and Description |
---|---|
private AbstractPerson.Personality |
NPC.personality
This stores the players personality
AbstractPerson.Personality |
Modifier and Type | Method and Description |
---|---|
AbstractPerson.Personality |
Player.getPersonality()
Getter for personality, it uses the personalityLevel of the player and thus returns either AGGRESSIVE, NEUTRAL or NICE
|
AbstractPerson.Personality |
NPC.getPersonality()
This method returns the NPCs personality
|
abstract AbstractPerson.Personality |
AbstractPerson.getPersonality()
This returns the persons personality
|
static AbstractPerson.Personality |
AbstractPerson.Personality.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractPerson.Personality[] |
AbstractPerson.Personality.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Player.getSpeech(Clue clue,
AbstractPerson.Personality style)
This method gets the speech based on what clue it is and the selected personality
|
java.lang.String |
NPC.getSpeech(Clue clue,
AbstractPerson.Personality style)
This handles speech for a clue that has a question style
|
abstract java.lang.String |
AbstractPerson.getSpeech(Clue clue,
AbstractPerson.Personality style)
This handles speech for a clue that has a question style
|