ISEbd-21.Fedotov.I.A.SelfPropelledArtilleryUnit.Basic.laba08 #9
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "ISEbd-21.Fedotov.I.A.SelfPropelledArtilleryUnit.Basic.laba08"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Зачтено с понижением балла(ов)
@ -0,0 +35,4 @@
{
return false;
}
if (x is DrawningPropelledArtilleryUnit && y is DrawningPropelledArtilleryUnit)
Нет сравнения по дополнительному цвету
@ -0,0 +17,4 @@
}
public bool Equals(MillitaryUnitCollectionInfo? other)
{
return this.Name == other.Name;
Нет проверки, что other не равен null
@ -0,0 +6,4 @@
namespace SelfPropelledArtilleryUnit.Basic
{
public class UnitCompareByColor : IComparer<BaseDrawningCharacter?>
Требовалось сортировать по критериям: цвет, скорость, вес
Pull request closed