Готовая 1 лаба
This commit is contained in:
parent
a7f1fc2910
commit
da474218e8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user