2024-04-17 03:44:51 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Verse;
|
|
|
|
|
|
|
|
|
|
namespace Rimworld_Animations
|
|
|
|
|
{
|
2024-04-18 22:32:31 +00:00
|
|
|
|
/* don't use? just use looprandomselect once
|
2024-04-17 03:44:51 +00:00
|
|
|
|
public class AnimationStage_TicksDuration : AnimationStage
|
|
|
|
|
{
|
2024-04-18 22:32:31 +00:00
|
|
|
|
public int ticks;
|
|
|
|
|
public List<AnimationDef> animationDefs;
|
2024-04-17 03:44:51 +00:00
|
|
|
|
|
|
|
|
|
public override List<Tuple<int, AnimationDef>> GetAnimations(int actor, int seed)
|
|
|
|
|
{
|
|
|
|
|
return new List<Tuple<int, AnimationDef>>() { Tuple.Create(ticks, animationDefs[actor]) };
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-04-18 22:32:31 +00:00
|
|
|
|
|
|
|
|
|
*/
|
2024-04-17 03:44:51 +00:00
|
|
|
|
}
|