diff --git a/AircraftCarrier/AircraftCarrier/EntityModernAircraftCarrier.cs b/AircraftCarrier/AircraftCarrier/EntityModernAircraftCarrier.cs index 85ba59e..a998c0c 100644 --- a/AircraftCarrier/AircraftCarrier/EntityModernAircraftCarrier.cs +++ b/AircraftCarrier/AircraftCarrier/EntityModernAircraftCarrier.cs @@ -4,13 +4,11 @@ using System.Linq; using System.Net.NetworkInformation; using System.Text; using System.Threading.Tasks; -using static System.Reflection.Metadata.BlobBuilder; namespace AircraftCarrier { internal class EntityModernAircraftCarrier : EntityAircraftCarrier { - private static readonly char _separatorForObject = ':'; public Color DopColor { get; set; } public bool FlightDeck { get; private set; } public bool HangarDeck { get; private set; } @@ -22,10 +20,5 @@ namespace AircraftCarrier HangarDeck = hangarDeck; Route = route; } - public override string ToString() - { - var str = base.ToString(); - return $"{str}{_separatorForObject}{DopColor.Name}{_separatorForObject}{FlightDeck}{_separatorForObject}{HangarDeck}{_separatorForObject}{Route}"; - } } } \ No newline at end of file