/***************************************************************************
                          touchsensor.h  -  description
                             -------------------
    begin                : Tue Dec 19 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 TOUCHSENSOR_H
#define TOUCHSENSOR_H

#include <sensor.h>

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

class Sensor.html">TouchSensor : public Sensor  {
public: 
	TouchSensor();
	~TouchSensor();
  /** Set the property or material to collide with. Use setTouchMaterial() to switch between properties and materials. */
  PyObject* setProperty(char* name);
  /** Returns the property or material to collide with. Use getTouchMaterial() to find out whether this sensor looks for properties or materials. */
  PyObject* getProperty();
  /** Returns the Python object you touched. */
  PyObject* getHitObject();
  /** Returns a Python list of touched objects. */
  PyObject* getHitObjectList();
};

#endif

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