Emotion-driven Learning for Animat Control