19 lines
468 B
C#
19 lines
468 B
C#
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
|
|
{
|
|
public List<AnimationStage> paths;
|
|
public override List<AnimationDef> GetAnimations(int actorNumber, int seed)
|
|
{
|
|
return paths[(seed * 59) % paths.Count].GetAnimations(actorNumber, seed);
|
|
}
|
|
}
|
|
}
|