Example #1
0
        public void AddAnimation(ushort animationId)
        {
            AnimationEntry e = new AnimationEntry();

            AnimationEntries.Add(e);
            AnimationEntriesID.Add(animationId);
        }
Example #2
0
 public void RemoveEmptyAnimations()
 {
     for (int i = 0; i < AnimationCount; i++)
     {
         if (AnimationEntries[i].FramesCount == 0 && AnimationEntries[i].ChildsCount == 0)
         {
             AnimationEntries.RemoveAt(i);
             AnimationEntriesID.RemoveAt(i);
             i--;
         }
     }
 }