Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Ketsji/KX_ConstraintWrapper.h
| Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | public: | ||||
| int getConstraintId() { return m_constraintId; } | int getConstraintId() { return m_constraintId; } | ||||
| #ifdef WITH_PYTHON | #ifdef WITH_PYTHON | ||||
| KX_PYMETHOD_NOARGS(KX_ConstraintWrapper,GetConstraintId); | KX_PYMETHOD_NOARGS(KX_ConstraintWrapper,GetConstraintId); | ||||
| KX_PYMETHOD(KX_ConstraintWrapper,SetParam); | KX_PYMETHOD(KX_ConstraintWrapper,SetParam); | ||||
| KX_PYMETHOD(KX_ConstraintWrapper,GetParam); | KX_PYMETHOD(KX_ConstraintWrapper,GetParam); | ||||
| static PyObject *pyattr_get_constraintId(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef); | static PyObject *pyattr_get_constraintId(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef); | ||||
| static PyObject *pyattr_get_constraintType(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef); | |||||
| #endif | #endif | ||||
| private: | private: | ||||
| int m_constraintId; | int m_constraintId; | ||||
| PHY_ConstraintType m_constraintType; | PHY_ConstraintType m_constraintType; | ||||
| PHY_IPhysicsEnvironment* m_physenv; | PHY_IPhysicsEnvironment* m_physenv; | ||||
| }; | }; | ||||
| #endif /* __KX_CONSTRAINTWRAPPER_H__ */ | #endif /* __KX_CONSTRAINTWRAPPER_H__ */ | ||||