Пример #1
0
 // Updates and interpolates the emotional state
 void Update()
 {
     if (current != next)
     {
         current = Mood.Lerp(current, next, speed);
         //FIXME Update the character animation based on the Mood.. if neccessary
     }
 }