#include <SCA_MouseSensor.h>
Inheritance diagram for SCA_MouseSensor:
Public Types | |
enum | KX_MOUSESENSORMODE { KX_MOUSESENSORMODE_NODEF = 0, KX_MOUSESENSORMODE_LEFTBUTTON, KX_MOUSESENSORMODE_MIDDLEBUTTON, KX_MOUSESENSORMODE_RIGHTBUTTON, KX_MOUSESENSORMODE_POSITION, KX_MOUSESENSORMODE_POSITIONX, KX_MOUSESENSORMODE_POSITIONY, KX_MOUSESENSORMODE_MOVEMENT, KX_MOUSESENSORMODE_MAX } |
Public Methods | |
bool | isValid (KX_MOUSESENSORMODE) |
SCA_MouseSensor (class SCA_MouseManager* keybdmgr, int startx,int starty, short int mousemode, SCA_IObject* gameobj, PyTypeObject* T=&Type ) | |
Sensor for mouse input. More... | |
virtual | ~SCA_MouseSensor () |
virtual CValue* | GetReplica () |
virtual bool | Evaluate (CValue* event) |
virtual bool | IsPositiveTrigger () |
short int | GetModeKey () |
SCA_IInputDevice::KX_EnumInputs | GetHotKey () |
void | setX (unsigned short x) |
void | setY (unsigned short y) |
virtual PyObject* | _getattr (char *attr) |
KX_PYMETHOD_DOC (SCA_MouseSensor,GetXPosition) | |
getInvert. | |
KX_PYMETHOD_DOC (SCA_MouseSensor,GetYPosition) | |
getInvert. |
Version:
Definition at line 14 of file SCA_MouseSensor.h.
|
Definition at line 46 of file SCA_MouseSensor.h. |
|
Sensor for mouse input. Version:
Definition at line 20 of file SCA_MouseSensor.cpp. Referenced by GetReplica(). |
|
Definition at line 50 of file SCA_MouseSensor.cpp. |
|
Reimplemented from SCA_ISensor. Definition at line 55 of file SCA_MouseSensor.cpp. |
|
Definition at line 85 of file SCA_MouseSensor.h. |
|
Definition at line 84 of file SCA_MouseSensor.h. |
|
Reimplemented from SCA_ISensor. Definition at line 67 of file SCA_MouseSensor.h. |
|
Reimplemented from SCA_ISensor. Definition at line 78 of file SCA_MouseSensor.h. |
|
getInvert.
Reimplemented from SCA_ISensor. |
|
getInvert.
Reimplemented from SCA_ISensor. |
|
Reimplemented from SCA_ISensor. Definition at line 179 of file SCA_MouseSensor.cpp. |
|
Definition at line 132 of file SCA_MouseSensor.cpp. |
|
Definition at line 122 of file SCA_MouseSensor.cpp. Referenced by SCA_MouseManager::NextFrame(). |
|
Definition at line 127 of file SCA_MouseSensor.cpp. Referenced by SCA_MouseManager::NextFrame(). |