1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
#ifndef DYNAMICOBJECT_H #define DYNAMICOBJECT_H #include <string> #include <ode/ode.h> #include <plib/ssg.h> #include "worldobject.h" class DynamicObject : public WorldObject { public: DynamicObject(ssgEntity *model, dWorldID world, dSpaceID bigspace); virtual ~DynamicObject(); ssgTransform *GetTransform(void) { return trf; } virtual bool Sustain(float dt); ssgTransform *trf; dBodyID body; dGeomID geom; }; #endif |