Makkah: add all busses from camps to list
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
parent
0fb689a3a0
commit
96a1254ce3
@ -14,6 +14,7 @@ public class MakkahCity {
|
|||||||
generateCamps(District.ALAZIZIYA, getRandom(100, 150));
|
generateCamps(District.ALAZIZIYA, getRandom(100, 150));
|
||||||
generateCamps(District.ALMANSOOR, getRandom(90, 120));
|
generateCamps(District.ALMANSOOR, getRandom(90, 120));
|
||||||
generateCamps(District.ALHIJRA, getRandom(80, 110));
|
generateCamps(District.ALHIJRA, getRandom(80, 110));
|
||||||
|
fillBusesToList();
|
||||||
//Make Streets
|
//Make Streets
|
||||||
makeStreets();
|
makeStreets();
|
||||||
//Make Routes
|
//Make Routes
|
||||||
@ -57,6 +58,8 @@ public class MakkahCity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void fillBusesToList() {
|
private static void fillBusesToList() {
|
||||||
//TODO: add all buses from campaigns to vehiclesList
|
for (Campaign camp : allCampgains) {
|
||||||
|
vehiclesList.addAll(camp.getVehicles());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user