Esempio n. 1
0
 public void iAdd(eSpace espace)
 {
     Fear = Fear + espace.Fear;
     Anger = Anger + espace.Anger;
     Sadness = Sadness + espace.Sadness;
     Joy = Joy + espace.Joy;
     Disgust = Disgust + espace.Disgust;
     Trust = Trust + espace.Trust;
     Anticipation = Anticipation + espace.Anticipation;
     Supprise = Supprise + espace.Supprise;
 }
Esempio n. 2
0
 internal eSpace Add(eSpace espace)
 {
     eSpace ret = new eSpace();
     ret.Fear = Fear + espace.Fear;
     ret.Anger = Anger + espace.Anger;
     ret.Sadness = Sadness + espace.Sadness;
     ret.Joy = Joy + espace.Joy;
     ret.Disgust = Disgust + espace.Disgust;
     ret.Trust = Trust + espace.Trust;
     ret.Anticipation = Anticipation + espace.Anticipation;
     ret.Supprise = Supprise + espace.Supprise;
     return ret;
 }
Esempio n. 3
0
 public EmotionState(eSpace initSpace)
     : this()
 {
     memory.ESpace = initSpace;
 }
Esempio n. 4
0
 internal eSpace Subtract(eSpace espace)
 {
     eSpace ret = new eSpace();
     ret.Fear = Fear - espace.Fear;
     ret.Anger = Anger - espace.Anger;
     ret.Sadness = Sadness - espace.Sadness;
     ret.Joy = Joy - espace.Joy;
     ret.Disgust = Disgust - espace.Disgust;
     ret.Trust = Trust - espace.Trust;
     ret.Anticipation = Anticipation - espace.Anticipation;
     ret.Supprise = Supprise - espace.Supprise;
     return ret;
 }
Esempio n. 5
0
 internal eSpace Multiply(double secondary)
 {
     eSpace ret = new eSpace();
     ret.Fear = Fear * secondary;
     ret.Anger = Anger * secondary;
     ret.Sadness = Sadness * secondary;
     ret.Joy = Joy * secondary;
     ret.Disgust = Disgust * secondary;
     ret.Trust = Trust * secondary;
     ret.Anticipation = Anticipation * secondary;
     ret.Supprise = Supprise * secondary;
     return ret;
 }
Esempio n. 6
0
 internal eSpace Magnified(double secondary)
 {
     eSpace ret = new eSpace();
     double mag = Magnitude();
     ret.Fear = Fear * mag * secondary;
     ret.Anger = Anger * mag * secondary;
     ret.Sadness = Sadness * mag * secondary;
     ret.Joy = Joy * mag * secondary;
     ret.Disgust = Disgust * mag * secondary;
     ret.Trust = Trust * mag * secondary;
     ret.Anticipation = Anticipation * mag * secondary;
     ret.Supprise = Supprise * mag * secondary;
     return ret;
 }