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

26 lines
604 B
Java
Raw Normal View History

2024-05-09 20:09:37 +04:00
package Entities;
import java.awt.*;
public class EntityDumpTruck extends EntityTruck {
public Color AdditionalColor;
public Color get_AdditionalColor(){ return AdditionalColor; }
public Boolean Body;
private Boolean get_Body() { return Body; }
public Boolean Tent;
private Boolean get_Tent() { return Tent; }
public EntityDumpTruck(int speed, double weight, Color bodyColor, Color additionalColor, Boolean body, Boolean tent)
{
super (speed, weight, bodyColor);
AdditionalColor = additionalColor;
Body = body;
Tent = tent;
}
}