C++11 AnimationState listener.

Because 2014.