From 7bdefd69c145f6446bb3d9e4ebfac63b461e5474 Mon Sep 17 00:00:00 2001 From: Marselchi Date: Mon, 25 Sep 2023 14:09:01 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BE=D1=87=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Liner/Drawing/DrawingLiner.cs | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/Liner/Drawing/DrawingLiner.cs b/Liner/Drawing/DrawingLiner.cs index fa08cac..04a9047 100644 --- a/Liner/Drawing/DrawingLiner.cs +++ b/Liner/Drawing/DrawingLiner.cs @@ -63,17 +63,6 @@ namespace Liner.Drawing /// Высота картинки public DrawingLiner(int speed, double weight, Color bodyColor, Color bottomColor, int width, int height) { - //TODO: придумать проверку - /* - if (width < _linerWidth || height < _linerHeight) - { - - } - else - { - - } - */ _pictureWidth = width; _pictureHeight = height; EntityLiner = new EntityLiner(speed, weight, bodyColor, bottomColor); @@ -90,17 +79,6 @@ namespace Liner.Drawing /// Высота прорисовки лайнера protected DrawingLiner(int speed, double weight, Color bodyColor, Color bottomColor, int width, int height,int linerWidth,int linerHeight) { - //TODO: придумать проверку - /* - if (width < _linerWidth || height < _linerHeight) - { - - } - else - { - - } - */ _linerHeight = linerHeight; _linerWidth = linerWidth; _pictureWidth = width;