Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
182a1717e9 | ||
|
e25232ba56 | ||
|
da474218e8 | ||
|
a7f1fc2910 | ||
|
02c4fa2ec2 | ||
|
cd60cbbe7f |
@ -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;
|
||||
|
@ -50,6 +50,7 @@ namespace Tank
|
||||
/// <param name="bodyKit">Признак наличия обвеса</param>
|
||||
/// <param name="trunk">Признак наличия багажника</param>
|
||||
/// <param name="sportLine">Признак наличия гоночной полосы</param>
|
||||
|
||||
public void Init(int speed, double weight, Color bodyColor, Color
|
||||
additionalColor, bool bodyKit, bool trunk, bool sportLine)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user