Go to the documentation of this file.00001
00002
00003 #ifndef _JOINT_FACTORY_H_
00004 #define _JOINT_FACTORY_H_
00005
00006 #include <EngineConfig.h>
00007 #include <core/Types.h>
00008
00009 namespace physics
00010 {
00011
00012 class Joint;
00013 enum JointType;
00014
00015 class ENGINE_PUBLIC_EXPORT JointFactory
00016 {
00017 public:
00018
00020 virtual Joint* createJoint(JointType type) = 0;
00021 virtual Joint* createJoint(const std::string& name, JointType type) = 0;
00022
00024 virtual void destroyJoint(Joint* joint) = 0;
00025 };
00026
00027 }
00028
00029 #endif