Module SCA_MouseSensor

Source Code for Module SCA_MouseSensor

 1  # $Id: SCA_MouseSensor.py 2607 2004-05-30 11:09:46Z kester $ 
 2  # Documentation for SCA_MouseSensor 
 3  from SCA_ISensor import * 
 4   
5 -class SCA_MouseSensor(SCA_ISensor):
6 """ 7 Mouse Sensor logic brick. 8 """ 9
10 - def getXPosition():
11 """ 12 Gets the x coordinate of the mouse. 13 14 @rtype: integer 15 @return: the current x coordinate of the mouse, in frame coordinates (pixels) 16 """
17 - def getYPosition():
18 """ 19 Gets the y coordinate of the mouse. 20 21 @rtype: integer 22 @return: the current y coordinate of the mouse, in frame coordinates (pixels). 23 """
24