Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool Station::isRunning()
- {
- for (auto &e: m_Trains)
- {
- if(e->getTrainstate() == "Running" || "Arrived") {return true;}
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement