доделала проверки и отрисовку

This commit is contained in:
Камилия Сафиулова 2023-09-26 17:27:00 +04:00
parent 0c81d916fc
commit 5abd129afe

View File

@ -54,7 +54,7 @@ namespace Catamaran
public bool Init(int speed, double weight, Color bodyColor, Color
additionalColor, bool sail, bool floatDetail, int width, int height)
{
if (width >= _pictureWidth && height >= _pictureHeight)
if (width >= _CatamaranWidth && height >= _CatamaranHeight)
{
_pictureWidth = width;
_pictureHeight = height;