Exemplo n.º 1
0
        public void AddAnimation(ushort animationId)
        {
            AnimationEntry e = new AnimationEntry();

            AnimationEntries.Add(e);
            AnimationEntriesID.Add(animationId);
        }
Exemplo n.º 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--;
         }
     }
 }