Sorokin_P.V. Lab Work 8 #8

Closed
Pavel_Sorokin wants to merge 9 commits from LabWork08 into LabWork07
Showing only changes of commit e227e7f26e - Show all commits

View File

@ -42,6 +42,14 @@ namespace Liner
{
return xShipColor.CompareTo(yShipColor);
}
if (xShip.GetShip.GetType().Name != yShip.GetShip.GetType().Name)
{
if (xShip.GetShip.GetType().Name == "DrawingShip")
{
return -1;
}
return 1;
}
if (xShip.GetShip.Ship is EntityLiner xLiner && yShip.GetShip.Ship is EntityLiner yLiner)
{
string xShipDopColor = xLiner.DopColor.Name;