Class Emotions

Object
Emotions

public class Emotions extends Object
  • Constructor Details

    • Emotions

      public Emotions()
  • Method Details

    • getEmotions

      public static Set<String> getEmotions()
      Returns a sorted collection of emotions, like cheer. Can have a target, but isn't necessary.
      Returns:
      returns a sorted collection containing emotions. For example ['agree','apologize','blink',..].
    • getTargetEmotions

      public static Set<String> getTargetEmotions()
      Returns an sorted collection of emotions, like greet. Must have a target.
      Returns:
      returns a sorted collection containing emotions. For example ['thank','tickle','worship',..].
    • returnEmotion

      public static Optional<Emotions.Emotion> returnEmotion(String anEmotion)
      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

      public static Optional<Emotions.Emotion> returnEmotionTo(String anEmotion)
      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: