Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/Ketsji/KX_NearSensor.h
| Context not available. | |||||
| #ifndef __KX_NEARSENSOR_H__ | #ifndef __KX_NEARSENSOR_H__ | ||||
| #define __KX_NEARSENSOR_H__ | #define __KX_NEARSENSOR_H__ | ||||
| #include "KX_TouchSensor.h" | #include "KX_CollisionSensor.h" | ||||
| #include "KX_ClientObjectInfo.h" | #include "KX_ClientObjectInfo.h" | ||||
| class KX_Scene; | class KX_Scene; | ||||
| struct PHY_CollData; | class PHY_CollData; | ||||
| class KX_NearSensor : public KX_TouchSensor | class KX_NearSensor : public KX_CollisionSensor | ||||
| { | { | ||||
| Py_Header | Py_Header | ||||
| protected: | protected: | ||||
| Context not available. | |||||
| float margin, | float margin, | ||||
| float resetmargin, | float resetmargin, | ||||
| bool bFindMaterial, | bool bFindMaterial, | ||||
| const STR_String& touchedpropname, | const std::string& touchedpropname, | ||||
| PHY_IPhysicsController* ctrl); | PHY_IPhysicsController* ctrl); | ||||
| #if 0 | #if 0 | ||||
| public: | public: | ||||
| Context not available. | |||||
| double margin, | double margin, | ||||
| double resetmargin, | double resetmargin, | ||||
| bool bFindMaterial, | bool bFindMaterial, | ||||
| const STR_String& touchedpropname, | const std::string& touchedpropname, | ||||
| class KX_Scene* scene); | class KX_Scene* scene); | ||||
| #endif | #endif | ||||
| virtual ~KX_NearSensor(); | virtual ~KX_NearSensor(); | ||||
| Context not available. | |||||