Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Interface::prepareDeparture()
- {
- for (auto &station : simulation->getStations())
- {
- for (auto &train : station->getTrains())
- {
- simulation->scheduleEvent(make_shared<Assemble>(train->getTrainID(), simulation->getCurrentTime(), simulation, station));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement