Note to review

This commit is contained in:
HeshamTB 2020-11-10 08:02:55 +03:00
parent fc6b93697c
commit 3fb2291b85
Signed by: Hesham
GPG Key ID: 74876157D199B09E

View File

@ -12,6 +12,7 @@ public class Street {
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) {
this(length, numberOfLanes);
this.vehicles = vehicles;