// Update is called once per frame
 void Update()
 {
     // TODO move from checking to called???
     // mood changed
     if (prevMood != moodState)
     {
         // update prevMood
         prevMood = moodState;
         // update mood
         setMood(moodState);
     }
 }
    public void setMood(MoodStatesEnum newState)
    {
        // set moodState
        moodState = newState;
        // call mood
        switch (newState)
        {
        // In searching mode
        case MoodStatesEnum.SUSPICOUS:
            Suspicous();
            break;

        // on the trail or line of sight
        case MoodStatesEnum.ALERTED:
            Alerted();
            break;

        // MoodStatesEnum.NORMAL:
        default:
            Normal();
            break;
        }
    }