Пример #1
0
 /// <summary>
 /// This is called by Antura controller with the change state event to apply any
 /// needed interactions.
 /// </summary>
 /// <param name="eState">Current state for Antura</param>
 private void AnturaInteractions(AnturaContollerState eState)
 {
     if (eState == AnturaContollerState.BARKING) //Antura scared the LL
     {
         AnturaReachedLetter();
     }
     else if (eState == AnturaContollerState.COMINGBACK)                     //Antura is returning to his place
     {
         if (m_LetterObjectView.GetState() != LLAnimationStates.LL_tickling) //if the LL is tickling antura didn't reach it (fix)
         {
             AnturaGoingAway();
         }
     }
 }