[GameLogic Index] [GameLogic Hierarchy]
Baseclass for all sensors More...
#include <sensor.h>
Inherits: LogicBrick
Baseclass for all sensors.
Returns a Python integer.
Returns TRUE if positive pulse mode is active, FALSE if positive pulse mode is not active.
Set flag to TRUE to switch on positive pulse mode, FALSE to switch off positive pulse mode.
Return the frequency of the updates in positive pulse mode.
Set the frequency of the updates in positive pulse mode. If the frequency is negative, it is set to 0.
Returns TRUE if negative pulse mode is active, FALSE if negative pulse mode is not active.
Set flag to TRUE to switch on negative pulse mode, FALSE to switch off negative pulse mode.
Return the frequency of the updates in negative pulse mode.
Set the frequency of the updates in negative pulse mode. If the frequency is negative, it is set to 0.
Returns whether or not pulses from this sensor are inverted.
Set to TRUE to invert the responses of this sensor, set to KX_FALSE to keep the normal response.
| Kdoc |