PIbd-14_Antonova_A.A.__Hard/Entities/EntityDumpTruck.java

27 lines
629 B
Java
Raw Normal View History

2024-06-10 13:56:47 +04:00
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;
}
}