public void AddAnimation(ushort animationId) { AnimationEntry e = new AnimationEntry(); AnimationEntries.Add(e); AnimationEntriesID.Add(animationId); }
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--; } } }