Правочка
This commit is contained in:
parent
fffb93e61b
commit
7bdefd69c1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user