Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

KX_NearSensor Class Reference

Sense if other objects are near. More...

#include <KX_NearSensor.h>

Inheritance diagram for KX_NearSensor:

KX_TouchSensor SCA_ISensor SCA_ILogicBrick CValue PyObjectPlus PyObject KX_RadarSensor List of all members.

Public Methods

 KX_NearSensor (class SCA_EventManager* eventmgr,class KX_GameObject* gameobj,double margin,double resetmargin,class SM_Object* sumoObj,bool bFindMaterial,const CCString& touchedpropname,PyTypeObject* T=&Type)
virtual ~KX_NearSensor ()
virtual CValueGetReplica ()
virtual bool Evaluate (CValue* event)
 Sense if other objects are near. More...

virtual void HandleCollision (void* obj1,void* obj2, const DT_CollData * coll_data)
virtual PyObject_getattr (char *attr)

Detailed Description

Sense if other objects are near.

Version:

Id:
KX_NearSensor.h,v 1.10 2000/12/10 00:31:33 coockie Exp

Definition at line 13 of file KX_NearSensor.h.


Constructor & Destructor Documentation

KX_NearSensor::KX_NearSensor ( class SCA_EventManager * eventmgr,
class KX_GameObject * gameobj,
double margin,
double resetmargin,
class SM_Object * sumoObj,
bool bFindMaterial,
const CCString & touchedpropname,
PyTypeObject * T = &Type )
 

Definition at line 41 of file KX_NearSensor.cpp.

Referenced by GetReplica().

KX_NearSensor::~KX_NearSensor ( ) [inline, virtual]
 

Definition at line 21 of file KX_NearSensor.h.


Member Function Documentation

bool KX_NearSensor::Evaluate ( CValue * event ) [virtual]
 

Sense if other objects are near.

Version:

Id:
KX_NearSensor.cpp,v 1.12 2000/12/10 00:31:33 coockie Exp

Reimplemented from KX_TouchSensor.

Definition at line 13 of file KX_NearSensor.cpp.

CValue * KX_NearSensor::GetReplica ( ) [inline, virtual]
 

Reimplemented from KX_TouchSensor.

Definition at line 27 of file KX_NearSensor.h.

void KX_NearSensor::HandleCollision ( void * obj1,
void * obj2,
const DT_CollData * coll_data ) [virtual]
 

Reimplemented from KX_TouchSensor.

Definition at line 53 of file KX_NearSensor.cpp.

PyObject * KX_NearSensor::_getattr ( char * attr ) [virtual]
 

Reimplemented from KX_TouchSensor.

Definition at line 126 of file KX_NearSensor.cpp.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:42 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000