удаление закомментированного кода
This commit is contained in:
parent
775539064d
commit
b98832508b
@ -89,18 +89,6 @@ public class DrawningLocomotive
|
|||||||
_pictureHeight = drawningLocomotiveHeight;
|
_pictureHeight = drawningLocomotiveHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
//public void Init(int speed, double weight, Color bodyColor, Color
|
|
||||||
//additionalColor, bool tube, bool fuelTank)
|
|
||||||
//{
|
|
||||||
// EntityWarmlyLocomotive = new EntityWarmlyLocomotive();
|
|
||||||
// EntityWarmlyLocomotive.Init(speed, weight, bodyColor, additionalColor,
|
|
||||||
// tube, fuelTank);
|
|
||||||
// _pictureWidth = null;
|
|
||||||
// _pictureHeight = null;
|
|
||||||
// _startPosX = null;
|
|
||||||
// _startPosY = null;
|
|
||||||
//}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Установка границ поля
|
/// Установка границ поля
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -236,15 +224,6 @@ public class DrawningLocomotive
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Pen pen = new(Color.Black);
|
Pen pen = new(Color.Black);
|
||||||
|
|
||||||
//Brush additionalBrush = new SolidBrush(EntityWarmlyLocomotive.AdditionalColor);
|
|
||||||
|
|
||||||
//труба
|
|
||||||
//if (EntityWarmlyLocomotive.Tube)
|
|
||||||
//{
|
|
||||||
// g.DrawRectangle(pen, _startPosX.Value + 40, _startPosY.Value, 20, 30);
|
|
||||||
// g.FillRectangle(additionalBrush, _startPosX.Value + 40, _startPosY.Value, 20, 40);
|
|
||||||
//}
|
|
||||||
|
|
||||||
//локомотив
|
//локомотив
|
||||||
Brush br = new SolidBrush(EntityLocomotive.BodyColor);
|
Brush br = new SolidBrush(EntityLocomotive.BodyColor);
|
||||||
@ -271,12 +250,6 @@ public class DrawningLocomotive
|
|||||||
g.DrawEllipse(pen, _startPosX.Value + 120, _startPosY.Value + 50, 20, 20);
|
g.DrawEllipse(pen, _startPosX.Value + 120, _startPosY.Value + 50, 20, 20);
|
||||||
g.FillEllipse(blBr, _startPosX.Value + 120, _startPosY.Value + 50, 20, 20);
|
g.FillEllipse(blBr, _startPosX.Value + 120, _startPosY.Value + 50, 20, 20);
|
||||||
|
|
||||||
// отсек для топлива
|
|
||||||
//if (EntityWarmlyLocomotive.FuelTank)
|
|
||||||
//{
|
|
||||||
// g.DrawRectangle(pen, _startPosX.Value + 80, _startPosY.Value + 40, 50, 40);
|
|
||||||
// g.FillRectangle(additionalBrush, _startPosX.Value + 80, _startPosY.Value + 40, 50, 40);
|
|
||||||
//}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user