2022-10-08 18:36:19 +04:00
|
|
|
import java.awt.*;
|
|
|
|
|
|
|
|
public class EntityWarmlyLocomotive extends EntityLocomotive{
|
2022-11-15 20:22:49 +04:00
|
|
|
public Color ExtraColor;
|
2022-10-08 18:36:19 +04:00
|
|
|
public final boolean Pipe;
|
|
|
|
public final boolean FuelStorage;
|
|
|
|
public EntityWarmlyLocomotive (int speed, float weight, Color bodyColor, Color extraColor, boolean pipe, boolean fuelStorage)
|
|
|
|
{
|
|
|
|
super(speed, weight, bodyColor);
|
|
|
|
ExtraColor = extraColor;
|
|
|
|
Pipe = pipe;
|
|
|
|
FuelStorage = fuelStorage;
|
|
|
|
}
|
|
|
|
|
2022-11-15 20:22:49 +04:00
|
|
|
public void SetExtraColor(Color color) {
|
|
|
|
ExtraColor = color;
|
|
|
|
}
|
|
|
|
|
2022-10-08 18:36:19 +04:00
|
|
|
}
|