27 lines
629 B
Java
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;
|
|
}
|
|
|
|
}
|