Module SCA_MouseSensor
[hide private]
[frames] | no frames]

Source Code for Module SCA_MouseSensor

 1  # $Id: SCA_MouseSensor.py 15444 2008-07-05 17:05:05Z lukep $ 
 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