Class Emotions
Object
Emotions
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a sorted collection of emotions, like cheer.Returns an sorted collection of emotions, like greet.static Optional
<Emotions.Emotion> returnEmotion
(String anEmotion) returns the appropriate emotion for a third person view.static Optional
<Emotions.Emotion> returnEmotionTo
(String anEmotion) returns the appropriate emotion for a third person view.
-
Constructor Details
-
Emotions
public Emotions()
-
-
Method Details
-
getEmotions
-
getTargetEmotions
-
returnEmotion
returns the appropriate emotion for a third person view.- Parameters:
anEmotion
- the emotion, for example "whistle".- Returns:
- the third person grammar, for example "whistles".
- See Also:
-
returnEmotionTo
returns the appropriate emotion for a third person view. The difference with returnEmotion is that this has a target.- Parameters:
anEmotion
- the emotion, for example "caress".- Returns:
- the third person grammar, for example "caresses".
- See Also:
-