diff --git a/ProjectDumpTruck/ProjectDumpTruck/Drawnings/DrawningDumpTruck.cs b/ProjectDumpTruck/ProjectDumpTruck/Drawnings/DrawningDumpTruck.cs index c3f34ec..e46a5e6 100644 --- a/ProjectDumpTruck/ProjectDumpTruck/Drawnings/DrawningDumpTruck.cs +++ b/ProjectDumpTruck/ProjectDumpTruck/Drawnings/DrawningDumpTruck.cs @@ -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)