1 #ifndef CustomActionInterface_H 2 #define CustomActionInterface_H 3 4 #include "../../../bullet/BulletCollision/CollisionDispatch/btCollisionWorld.h" 5 6 class CustomActionInterface : public btActionInterface { 7 public: 8 virtual void updateAction(btScalar timeStep)=0; 9 10 virtual void debugDraw()=0; 11 12 virtual void updateAction(btCollisionWorld* collisionWorld, btScalar timeStep) { 13 updateAction(timeStep); 14 } 15 16 virtual void debugDraw(btIDebugDraw* debugDrawer) { debugDraw(); } 17 }; 18 19 #endif // CustomActionInterface_H 20