Files
SlaveMatrix-SDL/2DGAMELIB/_2DGAMELIB/Joint.cs
2025-05-05 19:40:03 -07:00

31 lines
367 B
C#

using System;
namespace _2DGAMELIB;
[Serializable]
public class Joint
{
public Par Par0;
public int Index;
public Par Par1;
public Joint(Par Par0, int Index, Par Par1)
{
this.Par0 = Par0;
this.Index = Index;
this.Par1 = Par1;
}
public void JoinP()
{
Par0.SetJointP(Index, Par1);
}
public void JoinPA()
{
Par0.SetJointPA(Index, Par1);
}
}