Renamed Par -> ShapePart

Renamed ParT -> ShapePartT
This commit is contained in:
2026-06-13 20:45:58 +02:00
parent e424ebc7e9
commit a588c1273b
366 changed files with 14546 additions and 14537 deletions

View File

@@ -159,11 +159,11 @@ namespace _2DGAMELIB
}
}
public IEnumerable<Par> EnumAllPar()
public IEnumerable<ShapePart> EnumAllPar()
{
foreach (Pars item in parss)
{
foreach (Par item2 in item.EnumAllPar())
foreach (ShapePart item2 in item.EnumAllPar())
{
yield return item2;
}
@@ -211,9 +211,9 @@ namespace _2DGAMELIB
return list;
}
public List<Par> GetHitPars(ref Color HitColor)
public List<ShapePart> GetHitPars(ref Color HitColor)
{
List<Par> list = new List<Par>();
List<ShapePart> list = new List<ShapePart>();
foreach (Pars item in parss)
{
list.AddRange(item.GetHitPars(ref HitColor));