Готовая 1 лаба

This commit is contained in:
platoff aeeee 2023-10-03 19:44:30 +04:00
parent a7f1fc2910
commit da474218e8

View File

@ -57,7 +57,7 @@ namespace Tank
public bool Init(int speed, double weight, Color bodyColor, Color
additionalColor, bool bodyKit, bool trunk, bool sportLine, int width, int height)
{
// TODO: Продумать проверки
// проверки
if (width > _tankWidth && height > _tankHeight && speed > 0 && weight > 0)
{
_pictureWidth = width;