mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
19 lines
517 B
C#
19 lines
517 B
C#
using System.Collections.Generic;
|
|
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace RimWorldAnimationStudio
|
|
{
|
|
public abstract class AnimationClip
|
|
{
|
|
public string layer = "Pawn";
|
|
public List<string> tags;
|
|
|
|
[XmlIgnore] public int duration;
|
|
[XmlIgnore] public Dictionary<int, string> SoundEffects = new Dictionary<int, string>();
|
|
|
|
public abstract void BuildSimpleCurves();
|
|
|
|
public bool ShouldSerializetags() { return tags.NotNullOrEmpty(); }
|
|
}
|
|
}
|