2022-09-13 05:36:34 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace RimWorldAnimationStudio
|
|
|
|
|
{
|
|
|
|
|
public abstract class AnimationClip
|
|
|
|
|
{
|
2022-09-15 05:17:44 +00:00
|
|
|
|
public string layer = "Pawn";
|
|
|
|
|
public List<string> tags;
|
|
|
|
|
|
2022-09-19 00:07:44 +00:00
|
|
|
|
public virtual int duration { get { return 0; } }
|
2022-09-15 05:17:44 +00:00
|
|
|
|
|
2022-09-13 05:36:34 +00:00
|
|
|
|
public abstract void BuildSimpleCurves();
|
2022-09-15 05:17:44 +00:00
|
|
|
|
|
|
|
|
|
public bool ShouldSerializetags() { return tags.NotNullOrEmpty(); }
|
2022-09-21 21:15:25 +00:00
|
|
|
|
|
2022-09-26 04:10:41 +00:00
|
|
|
|
public virtual void ValidateData() { }
|
2022-09-13 05:36:34 +00:00
|
|
|
|
}
|
|
|
|
|
}
|