Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template<class Subject>
- bool BlackBoard<Subject>::IsArrived()
- {
- if (gameWorld->tankIter == gameWorld->tanks.end())
- {
- gameWorld->tankIter = gameWorld->tanks.begin();
- }
- auto it = gameWorld->tankIter;
- return (*it)->GetArrived();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement