PIbd-14_Antonova_A.A.__Hard/Entities/EntityDumpTruck.java
2024-06-10 20:42:41 +04:00

27 lines
629 B
Java

package Entities;
import java.awt.*;
public class EntityDumpTruck extends EntityTruck {
public Color AdditionalColor;
private Color get_AdditionalColor(){ return AdditionalColor; }
public Boolean Body;
private Boolean get_Body() { return Body; }
public Boolean Tent;
private Boolean get_Tent() { return Tent; }
public double Step;
public EntityDumpTruck(int speed, double weight, Color bodyColor, Color additionalColor, Boolean body, Boolean tent)
{
super (speed, weight, bodyColor);
AdditionalColor = additionalColor;
Body = body;
Tent = tent;
}
}