From 542fe732ecde3cbae6fcb24d8b5c120e3f9073db Mon Sep 17 00:00:00 2001 From: Marselchi Date: Fri, 24 Nov 2023 12:42:10 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D1=81=D1=8F=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Liner/Generics/LinerGenericCollection.cs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Liner/Generics/LinerGenericCollection.cs b/Liner/Generics/LinerGenericCollection.cs index df20691..42a0005 100644 --- a/Liner/Generics/LinerGenericCollection.cs +++ b/Liner/Generics/LinerGenericCollection.cs @@ -122,22 +122,6 @@ namespace Liner.Generics /// private void DrawObjects(Graphics g) { - /*int iX = ((_pictureWidth / _placeSizeWidth) - 1) * _placeSizeWidth; - int iY = 0; - for (int i = 0; i < _collection.Count; i++) - { - _collection.Get(i)?.SetPosition(iX,iY); - _collection.Get(i)?.DrawTransport(g); - if(_collection.Get(i) != null) - { - iY += _placeSizeHeight; - if(iY + _placeSizeHeight >= _pictureHeight) - { - iY = 0; - iX -= _placeSizeWidth; - } - } - }*/ int iX = ((_pictureWidth / _placeSizeWidth) - 1) * _placeSizeWidth; int iY = 0; for (int i = 0; i < _collection.Count; i++)