aboutsummaryrefslogtreecommitdiff
path: root/Simulation/ContactListener.hpp
blob: 4b4d4720ea29c6fac0d60d09775c5db5df0a9f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __CONTACTLISTENER_HPP__
#define __CONTACTLISTENER_HPP__

#include <Box2D.h>

class SimBase;

class ContactListener : public b2ContactListener
{
public:
    void PreSolve(b2Contact *contact, const b2Manifold *oldManifold);

    SimBase *hSim = nullptr;
};

#endif // __CONTACTLISTENER_HPP__