Advertisement
Guest User

bool BlackBoard<Subject>::IsArrived()

a guest
Apr 6th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. template<class Subject>
  2. bool BlackBoard<Subject>::IsArrived()
  3. {
  4.     if (gameWorld->tankIter == gameWorld->tanks.end())
  5.     {
  6.         gameWorld->tankIter = gameWorld->tanks.begin();
  7.     }
  8.     auto it = gameWorld->tankIter;
  9.     return (*it)->GetArrived();
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement