public RoadClass(Object name, Color color, int width, float convoySpeed) {
public RoadClass(Serializable name, Color color, int width, float convoySpeed) {
    public RoadClass(Object name, Color color, int width, float convoySpeed) {        this.name = name;        this.color = color;        this.width = width;        this.convoySpeed = convoySpeed;    }