Правочка

This commit is contained in:
Marselchi 2023-09-25 14:09:01 +04:00
parent fffb93e61b
commit 7bdefd69c1

View File

@ -63,17 +63,6 @@ namespace Liner.Drawing
/// <param name="height">Высота картинки</param>
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
/// <param name="linerHeight">Высота прорисовки лайнера</param>
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;