Created TrAnimationSubclass.h and implemented it in animations.