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
|
|
|
|
|
{
|
|
|
|
|
public class AnimationStage_Branch : AnimationStage
|
|
|
|
|
{
|
2024-04-17 23:57:18 +00:00
|
|
|
|
public List<AnimationStage> paths;
|
2024-04-17 03:44:51 +00:00
|
|
|
|
public override List<Tuple<int, AnimationDef>> GetAnimations(int actor, int seed)
|
|
|
|
|
{
|
|
|
|
|
return paths[(seed * 59) % paths.Count].GetAnimations(actor, seed);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|