removed some dead code and fixed a few bugs i introduced
This commit is contained in:
lewd-alt
2025-08-03 13:09:54 -07:00
parent 300f10dbd7
commit 8fb31d38bb
46 changed files with 160 additions and 73842 deletions

View File

@@ -286,46 +286,16 @@ namespace _2DGAMELIB
difs.Add(Dif);
}
public void Insert(int Index, Dif Dif)
{
difs.Insert(Index, Dif);
}
public void Remove(Dif Dif)
{
difs.Remove(Dif);
}
public void RemoveAt(int Index)
{
difs.RemoveAt(Index);
}
public void Draw(Are Are)
{
Are.Draw(Current);
}
public void Draws(Are Are)
{
foreach (Dif dif in difs)
{
dif.Draws(Are);
}
}
public void Draw(AreM AreM)
{
AreM.Draw(Current);
}
public void Draws(AreM AreM)
{
foreach (Dif dif in difs)
{
dif.Draws(AreM);
}
}
private Par GetJoinRoot(Pars ps)
{
Par[] array = ps.EnumAllPar().ToArray();
@@ -375,14 +345,6 @@ namespace _2DGAMELIB
pj[Current].JoinPA();
}
public void JoinPall()
{
foreach (Joints value in pj.Values)
{
value.JoinP();
}
}
public void JoinPAall()
{
foreach (Joints value in pj.Values)
@@ -391,14 +353,6 @@ namespace _2DGAMELIB
}
}
public void JoinP(Pars ps)
{
if (pj.ContainsKey(ps))
{
pj[ps].JoinP();
}
}
public void JoinPA(Pars ps)
{
if (pj.ContainsKey(ps))