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