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