Готовая лабораторная 3

This commit is contained in:
Никита Белянин 2023-11-12 22:07:48 +04:00
parent 6a6597f3bf
commit 825bfb760a

View File

@ -5,6 +5,7 @@ public class EntityTank extends EntityArmoVehicle {
public boolean BodyKit; public boolean BodyKit;
public boolean Caterpillar; public boolean Caterpillar;
public boolean Tower; public boolean Tower;
public EntityTank(int speed, double weight, Color bodyColor, int _numWheel, Color additionalColor, boolean bodyKit, boolean caterpillar, boolean tower) { public EntityTank(int speed, double weight, Color bodyColor, int _numWheel, Color additionalColor, boolean bodyKit, boolean caterpillar, boolean tower) {
super(speed, weight, bodyColor, _numWheel); super(speed, weight, bodyColor, _numWheel);
AdditionalColor = additionalColor; AdditionalColor = additionalColor;