PIBD-13_Baryshev_D.A._LabWork02_Base #2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user