00001 #ifndef __KX_RADAR_SENSOR_H 00002 #define __KX_RADAR_SENSOR_H 00003 00004 #include "KX_NearSensor.h" 00005 #include "MT_Scalar.h" 00006 00010 class KX_RadarSensor : public KX_NearSensor 00011 { 00012 00013 MT_Scalar m_coneradius; 00014 MT_Scalar m_coneheight; 00015 int m_axis; 00016 00017 public: 00018 KX_RadarSensor(class SCA_EventManager* eventmgr, 00019 class KX_GameObject* gameobj, 00020 double coneradius, 00021 double coneheight, 00022 int axis, 00023 double margin, 00024 double resetmargin, 00025 class SM_Object* sumoObj, 00026 bool bFindMaterial, 00027 const CCString& touchedpropname, 00028 PyTypeObject* T=&Type); 00029 KX_RadarSensor(); 00030 virtual ~KX_RadarSensor(); 00031 virtual void SynchronizeTransform(); 00032 }; 00033 00034 #endif //__KX_RADAR_SENSOR_H