25 lines
611 B
C#
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;
|
|
}
|
|
|
|
}
|
|
}
|
|
} |