C# Class EmotionalAppraisal.Mood

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

Public Methods

Method 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

Method Description
Mood ( ) : System

Method Details

DecayMood() public method

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

SetMoodValue() public method

public SetMoodValue ( float value, EmotionalAppraisalAsset parent ) : void
value float
parent EmotionalAppraisalAsset
return void

UpdateMood() public method

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
return void