linting 2

This commit is contained in:
lewd-alt
2025-09-14 15:47:53 -07:00
parent 8fb31d38bb
commit bb3bf291e2
17 changed files with 98 additions and 447 deletions

View File

@@ -50,24 +50,12 @@ namespace _2DGAMELIB
public Pars Pars => pars;
public But(Par Par, Action<But> Action)
{
pars = new Pars(Par);
this.Action = Action;
}
public But(ParT ParT, Action<But> Action)
{
pars = new Pars(ParT);
this.Action = Action;
}
public But(Pars Pars, Action<But> Action)
{
pars = Pars;
this.Action = Action;
}
public bool Move(ref Color HitColor)
{
if (Dra && !f2 && pars.IsHit(ref HitColor))
@@ -129,14 +117,6 @@ namespace _2DGAMELIB
}
}
public void Draw(AreM AreM)
{
if (dra)
{
AreM.Draw(pars);
}
}
public void SetHitColor(Med Med)
{
foreach (Par item in pars.EnumAllPar())