12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef SHAPE_OWNER_BULLET_H
- #define SHAPE_OWNER_BULLET_H
- #include "rid_bullet.h"
- class ShapeBullet;
- class btCollisionShape;
- class CollisionObjectBullet;
- /// Each class that want to use Shapes must inherit this class
- /// E.G. BodyShape is a child of this
- class ShapeOwnerBullet {
- public:
- virtual int find_shape(ShapeBullet *p_shape) const = 0;
- virtual void shape_changed(int p_shape_index) = 0;
- virtual void reload_shapes() = 0;
- virtual void remove_shape_full(class ShapeBullet *p_shape) = 0;
- virtual ~ShapeOwnerBullet() {}
- };
- #endif
|