#include <KX_TouchSensor.h>
Inheritance diagram for KX_TouchSensor:
Public Methods | |
KX_TouchSensor (class SCA_EventManager* eventmgr, class KX_GameObject* gameobj, class SM_Object* sumoObj, bool fFindMaterial, const CCString& touchedpropname, PyTypeObject* T=&Type) | |
virtual | ~KX_TouchSensor () |
virtual CValue* | GetReplica () |
virtual void | SynchronizeTransform () |
Senses touch and collision events. More... | |
virtual bool | Evaluate (CValue* event) |
virtual void | ReParent (SCA_IObject* parent) |
Abstract class for sensor logic bricks. More... | |
void | RegisterSumo (class SCA_EventManager *eventmgr, DT_RespTableHandle resptable) |
virtual bool | IsPositiveTrigger () |
SM_Object* | GetSumoObject () |
void | EndFrame () |
virtual void | HandleCollision (void* obj1,void* obj2, const DT_CollData * coll_data) |
virtual PyObject* | _getattr (char *attr) |
KX_PYMETHOD_DOC (KX_TouchSensor,SetProperty) | |
KX_PYMETHOD_DOC (KX_TouchSensor,GetProperty) | |
KX_PYMETHOD_DOC (KX_TouchSensor,GetHitObject) | |
KX_PYMETHOD_DOC (KX_TouchSensor,GetHitObjectList) | |
KX_PYMETHOD_DOC (KX_TouchSensor,GetTouchMaterial) | |
KX_PYMETHOD_DOC (KX_TouchSensor,SetTouchMaterial) | |
Static Public Methods | |
void | collisionResponse (void *client_data, void *object1, void *object2, const DT_CollData *coll_data) |
Protected Attributes | |
Py_Header | |
CCString | m_touchedpropname |
bool | m_bFindMaterial |
class SCA_EventManager* | m_eventmgr |
class SM_Object* | m_sumoObj |
SM_ClientObjectInfo | m_client_info |
bool | m_bCollision |
bool | m_bTriggered |
bool | m_bLastTriggered |
SCA_IObject* | m_hitObject |
class CListValue* | m_colliders |
Version:
Definition at line 16 of file KX_TouchSensor.h.
|
Definition at line 50 of file KX_TouchSensor.cpp. Referenced by GetReplica(). |
|
Definition at line 64 of file KX_TouchSensor.cpp. |
|
Definition at line 30 of file KX_TouchSensor.cpp. |
|
Reimplemented from SCA_ISensor. Reimplemented in KX_NearSensor. Definition at line 35 of file KX_TouchSensor.cpp. |
|
Reimplemented from SCA_ISensor. Reimplemented in KX_NearSensor. Definition at line 42 of file KX_TouchSensor.h. |
|
Definition at line 76 of file KX_TouchSensor.h. Referenced by KX_TouchEventManager::RegisterSensor(). |
|
Reimplemented in KX_NearSensor. Definition at line 91 of file KX_TouchSensor.cpp. |
|
Reimplemented from SCA_ISensor. Definition at line 70 of file KX_TouchSensor.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Abstract class for sensor logic bricks. Version:
Reimplemented from SCA_ISensor. Definition at line 69 of file KX_TouchSensor.cpp. |
|
Definition at line 77 of file KX_TouchSensor.cpp. Referenced by KX_TouchEventManager::RegisterSensor(). |
|
Senses touch and collision events. Version:
Reimplemented in KX_RadarSensor. Definition at line 18 of file KX_TouchSensor.cpp. |
|
Reimplemented from SCA_ISensor. Reimplemented in KX_NearSensor. Definition at line 181 of file KX_TouchSensor.cpp. |
|
Definition at line 57 of file KX_TouchSensor.h. |
|
Reimplemented from SCA_ISensor. Definition at line 19 of file KX_TouchSensor.h. |
|
Definition at line 27 of file KX_TouchSensor.h. |
|
Definition at line 22 of file KX_TouchSensor.h. |
|
Definition at line 29 of file KX_TouchSensor.h. |
|
Definition at line 28 of file KX_TouchSensor.h. |
|
Definition at line 26 of file KX_TouchSensor.h. |
|
Definition at line 31 of file KX_TouchSensor.h. |
|
Reimplemented from SCA_ISensor. Definition at line 23 of file KX_TouchSensor.h. |
|
Definition at line 30 of file KX_TouchSensor.h. |
|
Definition at line 24 of file KX_TouchSensor.h. |
|
Definition at line 21 of file KX_TouchSensor.h. |