Убраны комментарии

This commit is contained in:
Владислав Захаров 2022-12-15 22:07:32 +04:00
parent 2ad3451337
commit 6b03666b60
2 changed files with 1 additions and 9 deletions

View File

@ -124,11 +124,6 @@
/// <param name="g"></param> /// <param name="g"></param>
public virtual void DrawTransport(Graphics g) public virtual void DrawTransport(Graphics g)
{ {
//if (_startPosX < 0 || _startPosY < 0
// || !_pictureHeight.HasValue || !_pictureWidth.HasValue)
//{
// return;
//}
Pen pen = new(Color.Black); Pen pen = new(Color.Black);
Brush br = new SolidBrush(Ship.BodyColor); Brush br = new SolidBrush(Ship.BodyColor);
Brush brWindow = new SolidBrush(Color.FromArgb(79, 209, 204)); Brush brWindow = new SolidBrush(Color.FromArgb(79, 209, 204));

View File

@ -19,10 +19,7 @@ namespace WarmlyShip
{ {
return; return;
} }
//if (!DrawCheck())
//{
// return;
//}
_startPosY += 25; _startPosY += 25;
base.DrawTransport(g); base.DrawTransport(g);
_startPosY -= 25; _startPosY -= 25;