Note to review
This commit is contained in:
parent
fc6b93697c
commit
3fb2291b85
@ -12,6 +12,7 @@ public class Street {
|
|||||||
setNumberOfLanes(numberOfLanes);
|
setNumberOfLanes(numberOfLanes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: should be removed. list can be over the capacity Unless we check with street cap.
|
||||||
public Street(double length, int numberOfLanes, ArrayList<Vehicle> vehicles) {
|
public Street(double length, int numberOfLanes, ArrayList<Vehicle> vehicles) {
|
||||||
this(length, numberOfLanes);
|
this(length, numberOfLanes);
|
||||||
this.vehicles = vehicles;
|
this.vehicles = vehicles;
|
||||||
|
Loading…
Reference in New Issue
Block a user