PIBD-13_Baryshev_D.A._LabWork02_Base #2

Closed
xysiboi wants to merge 9 commits from LabWork02 into LabWork01
Showing only changes of commit d9f52f55a9 - Show all commits

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)