C# Class EmotionalAppraisal.Mood

Class that represents a agent's mood.
Afficher le fichier Open project: GAIPS-INESC-ID/FAtiMA-Toolkit Class Usage Examples

Méthodes publiques

Méthode Description
DecayMood ( EmotionalAppraisalAsset parent ) : void

Decays the mood according to the agent's simulated time

SetMoodValue ( float value, EmotionalAppraisalAsset parent ) : void
UpdateMood ( ActiveEmotion emotion, EmotionalAppraisalAsset parent ) : void

Updates the character's mood when a given emotion is "felt" by the character.

Private Methods

Méthode Description
Mood ( ) : System

Method Details

DecayMood() public méthode

Decays the mood according to the agent's simulated time
public DecayMood ( EmotionalAppraisalAsset parent ) : void
parent EmotionalAppraisalAsset
Résultat void

SetMoodValue() public méthode

public SetMoodValue ( float value, EmotionalAppraisalAsset parent ) : void
value float
parent EmotionalAppraisalAsset
Résultat void

UpdateMood() public méthode

Updates the character's mood when a given emotion is "felt" by the character.
public UpdateMood ( ActiveEmotion emotion, EmotionalAppraisalAsset parent ) : void
emotion ActiveEmotion the ActiveEmotion that will influence the agent's current mood
parent EmotionalAppraisalAsset
Résultat void