/***************************************************************************
                          mousesensor.h  -  description
                             -------------------
    begin                : Wed Dec 20 2000
    copyright            : (C) 2000 by Jan Walter
    email                : jan@blender.nl
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef MOUSESENSOR_H
#define MOUSESENSOR_H

#include <sensor.h>

/**A MouseSensor is a special kind of a general sensor. 
  *@author Jan Walter
  */

class Sensor.html">MouseSensor : public Sensor  {
public: 
	MouseSensor();
	~MouseSensor();
  /** Returns the x-coordinate of the mouse sensor, in frame coordinates. The lower-left corner is the origin. The coordinate is given in pixels. */
  PyObject* getXPosition();
  /** Returns the y-coordinate of the mouse sensor, in frame coordinates. The lower-left corner is the origin. The coordinate is given in pixels. */
  PyObject* getYPosition();
};

#endif

Documentation generated by jan@nvidea on Thu Dec 21 14:04:43 CET 2000