Compare commits

..

6 Commits
main ... main2

Author SHA1 Message Date
platoff aeeee
182a1717e9 Merge branch 'main2' of http://student.git.athene.tech/Gerimovich_Ilya/PIbd-22_Gerimovich_I.M._Tank_Base into Lab1 2023-10-11 11:04:41 +04:00
platoff aeeee
e25232ba56 Готовая 1 лаба 2023-10-11 11:04:18 +04:00
platoff aeeee
da474218e8 Готовая 1 лаба 2023-10-03 19:44:30 +04:00
platoff aeeee
a7f1fc2910 Готовая 1 лаба 2023-09-27 09:20:00 +04:00
platoff aeeee
02c4fa2ec2 Правки 2023-09-26 23:13:18 +04:00
platoff aeeee
cd60cbbe7f Перенесение проекта 2023-09-26 17:01:06 +04:00
2 changed files with 2 additions and 1 deletions

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;

View File

@ -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)
{