Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. void Interface::prepareDeparture()
  2. {
  3. for (auto &station : simulation->getStations())
  4. {
  5. for (auto &train : station->getTrains())
  6. {
  7. simulation->scheduleEvent(make_shared<Assemble>(train->getTrainID(), simulation->getCurrentTime(), simulation, station));
  8. }
  9.  
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement