protected AnimationClass CreateAnimation(string AnimationName, bool IsPartialAnimation) { AnimationClass ActiveAnimation = null; if (IsPartialAnimation) { ActiveAnimation = new PartialAnimation(AnimationName, this); } else { ActiveAnimation = new AnimationClass(AnimationName); } ActiveAnimation.DicTimeline = DicTimeline; ActiveAnimation.LoadFromFile(); for (int A = ActiveAnimation.ListAnimationLayer.Count - 1; A >= 0; --A) { ActiveAnimation.ListAnimationLayer[A].Owner = this; } return(ActiveAnimation); }