ScullingQuery.h 401 B

12345678910111213141516171819202122
  1. //
  2. // Created by jovian on 15/08/17.
  3. //
  4. #ifndef TINYSHOOTER_SCULLINGQUERY_H
  5. #define TINYSHOOTER_SCULLINGQUERY_H
  6. #include <box2d/box2d.h>
  7. #include <vector>
  8. class ScullingQuery : public b2QueryCallback {
  9. public:
  10. bool ReportFixture(b2Fixture *fixture) override;
  11. const std::vector<b2Body *> &getTab() const;
  12. private:
  13. std::vector<b2Body *> m_tab;
  14. };
  15. #endif //TINYSHOOTER_SCULLINGQUERY_H