26 lines
604 B
Java
26 lines
604 B
Java
|
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;
|
||
|
}
|
||
|
|
||
|
}
|