Создание продвинутого объекта.

This commit is contained in:
Артем Харламов 2022-12-20 01:04:08 +04:00
parent 3e59bbb70f
commit f4320eecc1

View File

@ -0,0 +1,14 @@
import java.awt.*;
public class EntityMilitaryStormtrooper extends EntityStormtrooper {
public final boolean bomb;
public final boolean propeller;
public final Color dopColor;
public EntityMilitaryStormtrooper(int speed, float weight, Color bodyColor, Color DopColor, boolean Bomb, boolean Propeller) {
super(speed, weight, bodyColor);
dopColor = DopColor;
bomb = Bomb;
propeller = Propeller;
}
}