Создание продвинутого объекта.
This commit is contained in:
parent
3e59bbb70f
commit
f4320eecc1
14
EntityMilitaryStormtrooper.java
Normal file
14
EntityMilitaryStormtrooper.java
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user