vehicles is null, thus, can't use .add() in generateBusses() First make an Object in generateBusses() then fill with add(). Or make generateBusses() only add to an instance member (i.e. construct with ref with instance) Signed-off-by: HeshamTB <hishaminv@gmail.com> |
||
---|---|---|
.idea | ||
src | ||
.gitignore | ||
Hajj-simulation.iml |