готово

This commit is contained in:
Baryshev Dmitry 2024-03-20 15:14:53 +04:00
parent 7402296ecd
commit d9f52f55a9

View File

@ -25,6 +25,7 @@ public class DrawningDumpTruck : DrawningTruck
{
EntityTruck = new EntityDumpTruck(speed, weight, bodyColor, additionalColor, awning, tent);
}
public override void DrawTransport(Graphics g)
{
if (EntityTruck == null || EntityTruck is not EntityDumpTruck dumpTruck || !_startPosX.HasValue || !_startPosY.HasValue)