rimworld-animations-patch_m.../Source/Scripts/Defs/ActorAnimationData.cs

32 lines
917 B
C#
Raw Permalink Normal View History

2022-09-10 01:22:08 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HarmonyLib;
using Rimworld_Animations;
using Verse;
namespace Rimworld_Animations_Patch
{
public class ActorAnimationData
{
public AnimationDef animationDef = null;
public int actorID = 0;
public int currentStage = 0;
public int stageTicks = 0;
public Rot4 actorFacing = Rot4.South;
2023-02-04 07:13:57 +00:00
public bool isMirrored;
2022-09-10 01:22:08 +00:00
2023-02-04 07:13:57 +00:00
public ActorAnimationData(AnimationDef animationDef, int actorID, int currentStage, int stageTicks, Rot4 actorFacing, bool isMirrored)
2022-09-10 01:22:08 +00:00
{
this.animationDef = animationDef;
this.actorID = actorID;
this.currentStage = currentStage;
this.stageTicks = stageTicks;
this.actorFacing = actorFacing;
2023-02-04 07:13:57 +00:00
this.isMirrored = isMirrored;
2022-09-10 01:22:08 +00:00
}
}
}