EmotionalAppraisal.ActiveEmotion.ActiveEmotion C# (CSharp) Méthode

ActiveEmotion() public méthode

Creates a new ActiveEmotion
public ActiveEmotion ( IEmotion emotion, float potential, int threshold, int decay, ulong tickStamp ) : System
emotion IEmotion the BaseEmotion that is the base for this ActiveEmotion
potential float the potential for the intensity of the emotion
threshold int the threshold for the specific emotion
decay int the decay rate for the specific emotion
tickStamp ulong
Résultat System
        public ActiveEmotion(IEmotion emotion, float potential, int threshold, int decay, ulong tickStamp)
        {
            this.EmotionType = emotion.EmotionType;
            this.Valence = emotion.Valence;
            this.AppraisalVariables = emotion.AppraisalVariables.ToArray();
            this.InfluenceMood = emotion.InfluenceMood;
            this.CauseId = emotion.CauseId;
            this.Direction = emotion.Direction;
            this.Threshold = threshold;
            this.Decay = decay;
            SetIntensity(potential,tickStamp);
        }

Same methods

ActiveEmotion::ActiveEmotion ( EmotionDTO emotionDTO, int threshold, int decay ) : System