Stop changing the includes!
[blender.git] / source / gameengine / Ketsji / KX_VehicleWrapper.h
1 #ifndef KX_VEHICLE_WRAPPER
2 #define KX_VEHICLE_WRAPPER
3
4 #include "Value.h"
5 #include "PHY_DynamicTypes.h"
6 class PHY_IVehicle;
7 class PHY_IMotionState;
8
9 #include <vector>
10
11 ///Python interface to physics vehicles (primarily 4-wheel cars and 2wheel bikes)
12 class   KX_VehicleWrapper : public PyObjectPlus
13 {
14         Py_Header;
15
16         std::vector<PHY_IMotionState*> m_motionStates;
17
18 public:
19         KX_VehicleWrapper(PHY_IVehicle* vehicle,class PHY_IPhysicsEnvironment* physenv);
20         virtual ~KX_VehicleWrapper ();
21         int                     getConstraintId();
22         
23         
24         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,AddWheel);
25         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetNumWheels);
26         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetWheelOrientationQuaternion);
27         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetWheelRotation);
28         
29         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetWheelPosition);
30         
31         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetConstraintId);
32         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,GetConstraintType);
33
34         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetSteeringValue);
35
36         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,ApplyEngineForce);
37
38         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,ApplyBraking);
39
40         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetTyreFriction);
41
42         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetSuspensionStiffness);
43         
44         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetSuspensionDamping);
45         
46         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetSuspensionCompression);
47         
48         KX_PYMETHOD_VARARGS(KX_VehicleWrapper,SetRollInfluence);
49         
50
51 private:
52         PHY_IVehicle*                    m_vehicle;
53         PHY_IPhysicsEnvironment* m_physenv;
54 };
55
56 #endif //KX_VEHICLE_WRAPPER