PIbd-22_Bondarenko_M.S._War.../WarmlyShip/WarmlyShip/DrawningMotorShip.cs
2022-09-21 10:49:05 +04:00

25 lines
611 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WarmlyShip
{
internal class DrawningMotorShip : DrawingWarmlyShip
{
public DrawningMotorShip(int speed, float weight, Color bodyColor, Color dopColor, bool bodyKit, bool wing, bool sportLine) : base(speed, weight, bodyColor, 110, 60)
{
warmlyShip = new EntityMotorShip(speed, weight, bodyColor, dopColor, bodyKit, wing, sportLine);
}
public override void DrawTransport(Graphics g)
{
if (warmlyShip is not EntityMotorShip sportCar)
{
return;
}
}
}
}