using System.Collections.Generic; using System.Xml; using System.Xml.Serialization; namespace RimWorldAnimationStudio { public abstract class AnimationClip { public string layer = "Pawn"; public List tags; public virtual int duration { get { return 0; } } public abstract void BuildSimpleCurves(); public bool ShouldSerializetags() { return tags.NotNullOrEmpty(); } public virtual void ValidateData() { } } }