исправление координат
This commit is contained in:
parent
a7bcf86f4f
commit
777a09e683
@ -25,6 +25,8 @@ public class DrawningBulldozer : DrawningBulldozerProstoy
|
||||
EntityBulldozerProstoy = new EntityBulldozer(speed, weight, bodyColor, additionalColor, additionalOtval,
|
||||
additionalRihl);
|
||||
}
|
||||
|
||||
|
||||
public override void DrawTransport(Graphics g)
|
||||
{
|
||||
if (EntityBulldozerProstoy == null || EntityBulldozerProstoy is not EntityBulldozer Bulldozer || !_startPosX.HasValue || !_startPosY.HasValue)
|
||||
@ -40,11 +42,9 @@ public class DrawningBulldozer : DrawningBulldozerProstoy
|
||||
|
||||
|
||||
_startPosX += 10;
|
||||
_startPosY += 5;
|
||||
|
||||
base.DrawTransport(g);
|
||||
_startPosX -= 10;
|
||||
_startPosY -= 5;
|
||||
|
||||
Brush bl = new SolidBrush(Bulldozer.AdditionalColor);
|
||||
/////////отвал
|
||||
|
Loading…
x
Reference in New Issue
Block a user