public class RoadProperties extends Road.Properties
Constructor and Description |
---|
RoadProperties(java.lang.String velocity,
java.lang.Integer km)
Instantiates a new Road properties.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getKm()
Gets km.
|
boolean |
hasKm()
Has km.
|
void |
setKm(java.lang.Integer km)
Sets km.
|
getVelocity, hasVelocity, setVelocity