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

SCA_RandomSensor Class Reference

Generate random pulses. More...

#include <SCA_RandomSensor.h>

Inheritance diagram for SCA_RandomSensor:

SCA_ISensor SCA_ILogicBrick CValue PyObjectPlus PyObject List of all members.

Public Methods

 SCA_RandomSensor (class SCA_EventManager* rndmgr, SCA_IObject* gameobj, int startseed, PyTypeObject* T=&Type)
 Generate random pulses. More...

virtual ~SCA_RandomSensor ()
virtual CValueGetReplica ()
virtual bool Evaluate (CValue* event)
virtual bool IsPositiveTrigger ()
virtual PyObject_getattr (char *attr)
 KX_PYMETHOD_DOC (SCA_RandomSensor,SetSeed)
 setInvert.

 KX_PYMETHOD_DOC (SCA_RandomSensor,GetSeed)
 getInvert.

 KX_PYMETHOD_DOC (SCA_RandomSensor,GetLastDraw)
 getInvert.


Detailed Description

Generate random pulses.

Version:

Id:
SCA_RandomSensor.h,v 1.1 2000/12/06 20:22:33 coockie Exp

Definition at line 14 of file SCA_RandomSensor.h.


Constructor & Destructor Documentation

SCA_RandomSensor::SCA_RandomSensor ( class SCA_EventManager * eventmgr,
SCA_IObject * gameobj,
int startseed,
PyTypeObject * T = &Type )
 

Generate random pulses.

Version:

Id:
SCA_RandomSensor.cpp,v 1.1 2000/12/06 20:22:33 coockie Exp

Definition at line 18 of file SCA_RandomSensor.cpp.

Referenced by GetReplica().

SCA_RandomSensor::~SCA_RandomSensor ( ) [virtual]
 

Definition at line 32 of file SCA_RandomSensor.cpp.


Member Function Documentation

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

Reimplemented from SCA_ISensor.

Definition at line 37 of file SCA_RandomSensor.cpp.

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

Reimplemented from SCA_ISensor.

Definition at line 28 of file SCA_RandomSensor.h.

bool SCA_RandomSensor::IsPositiveTrigger ( ) [inline, virtual]
 

Reimplemented from SCA_ISensor.

Definition at line 35 of file SCA_RandomSensor.h.

SCA_RandomSensor::KX_PYMETHOD_DOC ( SCA_RandomSensor,
GetLastDraw )
 

getInvert.

Reimplemented from SCA_ISensor.

SCA_RandomSensor::KX_PYMETHOD_DOC ( SCA_RandomSensor,
GetSeed )
 

getInvert.

Reimplemented from SCA_ISensor.

SCA_RandomSensor::KX_PYMETHOD_DOC ( SCA_RandomSensor,
SetSeed )
 

setInvert.

Reimplemented from SCA_ISensor.

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

Reimplemented from SCA_ISensor.

Definition at line 103 of file SCA_RandomSensor.cpp.


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