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