Решение конфликта 2

This commit is contained in:
Павел Ладягин 2024-03-23 10:35:34 +04:00
parent 0cd856801f
commit 6b13374b77

View File

@ -21,6 +21,10 @@ namespace ProjectAirplaneWithRadar.Drawnings
EntityAirplane = new EntityAirplaneWithRadar(speed, weight, bodyColor, additionalColor, wheels, radar);
}
/// <summary>
/// Прорисовка объекта
/// </summary>
/// <param name="g"></param>
public override void DrawTransport(Graphics g)
{
if (EntityAirplane == null || EntityAirplane is not EntityAirplaneWithRadar airplaneWithRadar || !_startPosX.HasValue || !_startPosY.HasValue)