linting
removed some dead code and fixed a few bugs i introduced
This commit is contained in:
@@ -65,14 +65,6 @@ namespace _2DGAMELIB
|
||||
}
|
||||
}
|
||||
|
||||
public void Draw(AreM AreM)
|
||||
{
|
||||
foreach (But value in buts.Values)
|
||||
{
|
||||
value.Draw(AreM);
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
foreach (But value in buts.Values)
|
||||
@@ -80,10 +72,5 @@ namespace _2DGAMELIB
|
||||
value.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsHit(Color hc)
|
||||
{
|
||||
return EnumBut.Any((But e) => e.Pars.Values.First().ToPar().HitColor == hc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user