доделала проверки и отрисовку
This commit is contained in:
parent
0c81d916fc
commit
5abd129afe
@ -54,7 +54,7 @@ namespace Catamaran
|
|||||||
public bool Init(int speed, double weight, Color bodyColor, Color
|
public bool Init(int speed, double weight, Color bodyColor, Color
|
||||||
additionalColor, bool sail, bool floatDetail, int width, int height)
|
additionalColor, bool sail, bool floatDetail, int width, int height)
|
||||||
{
|
{
|
||||||
if (width >= _pictureWidth && height >= _pictureHeight)
|
if (width >= _CatamaranWidth && height >= _CatamaranHeight)
|
||||||
{
|
{
|
||||||
_pictureWidth = width;
|
_pictureWidth = width;
|
||||||
_pictureHeight = height;
|
_pictureHeight = height;
|
||||||
|
Loading…
Reference in New Issue
Block a user