diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-12-31 23:35:20 +0300 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-12-31 23:35:20 +0300 |
commit | 2dfd34994fb2a5d7d8ca57a7ce1fa18e7047463e (patch) | |
tree | 1e441a4511791a211a6efb61d2f4e08036c5fa8d /source/gameengine/GameLogic/SCA_MouseSensor.h | |
parent | eee013d9b918a9582951fa71919fa17e07e6e775 (diff) |
BGE API cleanup: introduction of a generic framework to link Python attributes to logic brick class member. See KX_PYATTRIBUTE macros in PyObjectPlus.h.
Diffstat (limited to 'source/gameengine/GameLogic/SCA_MouseSensor.h')
-rw-r--r-- | source/gameengine/GameLogic/SCA_MouseSensor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/GameLogic/SCA_MouseSensor.h b/source/gameengine/GameLogic/SCA_MouseSensor.h index 6d6e641c798..58ee96c8856 100644 --- a/source/gameengine/GameLogic/SCA_MouseSensor.h +++ b/source/gameengine/GameLogic/SCA_MouseSensor.h @@ -58,7 +58,7 @@ class SCA_MouseSensor : public SCA_ISensor SCA_IInputDevice::KX_EnumInputs m_hotkey; /** - * valid x coordinate + * valid x coordinate, MUST be followed by y coordinate */ short m_x; @@ -87,7 +87,7 @@ class SCA_MouseSensor : public SCA_ISensor bool isValid(KX_MOUSESENSORMODE); - void UpdateHotkey(); + static int UpdateHotkey(void *self); SCA_MouseSensor(class SCA_MouseManager* keybdmgr, int startx,int starty, |