Готовая лабораторная работа 3
This commit is contained in:
parent
12e650cdb7
commit
cfb1286b87
@ -4,7 +4,7 @@ public class DrawingTank extends DrawingArmoVehicle {
|
|||||||
protected IOrnamentForm OrnamentsForm;
|
protected IOrnamentForm OrnamentsForm;
|
||||||
private boolean OrnamentAdd;
|
private boolean OrnamentAdd;
|
||||||
|
|
||||||
// Конструктор (Инициализация свойств)
|
// Конструктор (Инициализация характеристик)
|
||||||
public DrawingTank(int speed, double weight, Color bodyColor, int _numWheel, Color additionalColor, boolean bodyKit, boolean caterpillar, boolean tower, int width, int height, boolean ornamentAdd) {
|
public DrawingTank(int speed, double weight, Color bodyColor, int _numWheel, Color additionalColor, boolean bodyKit, boolean caterpillar, boolean tower, int width, int height, boolean ornamentAdd) {
|
||||||
super(speed, weight, bodyColor, _numWheel, width, height);
|
super(speed, weight, bodyColor, _numWheel, width, height);
|
||||||
ArmoVehicle = new EntityTank(speed, weight, bodyColor, _numWheel, additionalColor, bodyKit, caterpillar, tower);
|
ArmoVehicle = new EntityTank(speed, weight, bodyColor, _numWheel, additionalColor, bodyKit, caterpillar, tower);
|
||||||
|
Loading…
Reference in New Issue
Block a user