Package FAtiMA.Core.emotionalState
Class EmotionalPameters
java.lang.Object
FAtiMA.Core.emotionalState.EmotionalPameters
Defines the values for emotional parameters used in the dynamics of the
emotional state. ex: the decay of an emotion, decay of mood, influence of
mood in emotion.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatConstant value that defines how fast should a emotion decay over time.static final floatDefines how strong is the influence of the emotion's intensity on the character's mood.static final floatDefines the minimum absolute value that mood must have, in order to be considered for influencing emotions.static final floatConstant value that defines how fast should mood decay over time.static final floatDefines how strong is the influence of the current mood in the intensity of the emotion. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EmotionDecayFactor
public static final float EmotionDecayFactorConstant value that defines how fast should a emotion decay over time. This value is adjusted so that the slowest decaying emotions takes aproximately 15 seconds to decay to half of the original intensity, the fastest decaying emotions take 4 seconds, and the normal ones takes 7 seconds.- See Also:
-
MoodDecayFactor
public static final float MoodDecayFactorConstant value that defines how fast should mood decay over time. This value is adjusted so that mood decays 3 times slower than the slowest decaying emotion in order to represent a longer persistence and duration of mood over emotions. So, it takes aproximately 60 seconds for the mood to decay to half of the initial value.- See Also:
-
EmotionInfluenceOnMood
public static final float EmotionInfluenceOnMoodDefines how strong is the influence of the emotion's intensity on the character's mood. Since we don't want the mood to be very volatile, we only take into account 30% of the emotion's intensity- See Also:
-
MoodInfluenceOnEmotion
public static final float MoodInfluenceOnEmotionDefines how strong is the influence of the current mood in the intensity of the emotion. We don't want the influence of mood to be that great, so we only take into account 30% of the mood's value- See Also:
-
MinimumMoodValue
public static final float MinimumMoodValueDefines the minimum absolute value that mood must have, in order to be considered for influencing emotions. At the moment, values of mood ranged in ]-0.5;0.5[ are considered to be neutral moods that do not infuence emotions- See Also:
-
-
Constructor Details
-
EmotionalPameters
public EmotionalPameters()
-