rimworld-animations/Source/Defs/AnimationDef.cs
Platinum 7f1e2314dd Minor tweaks for rjw 4.1.0 +
Relevant animation context when applicable
2020-04-18 08:24:09 -07:00

26 lines
724 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RimWorld;
using Verse;
namespace Rimworld_Animations {
public class AnimationDef : Def
{
public List<AnimationStage> animationStages;
public List<Actor> actors;
public int animationTimeTicks = 0; //do not set manually
public bool sounds = false;
public List<rjw.xxx.rjwSextype> sexTypes;
public override void PostLoad() {
base.PostLoad();
foreach(AnimationStage stage in animationStages) {
stage.initialize();
animationTimeTicks += stage.playTimeTicks;
}
}
}
}