PIbd-21_Potapov_N.S._Stormt.../ProjectStormtrooper/EntityStormtrooper.java

22 lines
585 B
Java
Raw Normal View History

package ProjectStormtrooper;
import java.awt.*;
public class EntityStormtrooper extends EntityPlane {
public Color AdditionalColor;
public boolean Rockets;
public boolean Bombs;
public EntityStormtrooper(int speed, double weight, Color bodyColor,
Color additionalColor, boolean rockets, boolean bombs) {
super(speed, weight, bodyColor);
AdditionalColor = additionalColor;
Rockets = rockets;
Bombs = bombs;
}
2023-12-05 11:32:33 +04:00
public void SetAdditionalColor(Color color) {
AdditionalColor = color;
}
}