28#ifndef HPL_PHYSICS_JOINT_SCREW_H
29#define HPL_PHYSICS_JOINT_SCREW_H
31#include "hpl1/engine/physics/PhysicsJoint.h"
37kSaveData_ChildClass(iPhysicsJoint, iPhysicsJointScrew) {
38 kSaveData_ClassInit(iPhysicsJointScrew) public :
float mfMaxDistance;
42 virtual iSaveObject *CreateSaveObject(cSaveObjectHandler * apSaveObjectHandler, cGame * apGame);
43 virtual int GetSaveCreatePrio();
54 :
iPhysicsJoint(asName, apParentBody, apChildBody, apWorld, avPivotPoint) {}
64 virtual void SetMinDistance(
float afX) = 0;
65 virtual float GetMaxDistance() = 0;
66 virtual float GetMinDistance() = 0;
68 ePhysicsJointType GetType() {
return ePhysicsJointType_Screw; }
Definition: SaveGame.h:183
Definition: PhysicsBody.h:117
Definition: PhysicsJoint.h:135
Definition: PhysicsJointScrew.h:48
virtual void SaveDataSetup(cSaveObjectHandler *apSaveObjectHandler, cGame *apGame)
virtual void SaveToSaveData(iSaveData *apSaveData)
virtual iSaveData * CreateSaveData()
virtual void SetMaxDistance(float afX)=0
virtual void LoadFromSaveData(iSaveData *apSaveData)
Definition: PhysicsWorld.h:115
Definition: SaveGame.h:111
Definition: SaveGame.h:130