/***************************************************************************
                          propertyactuator.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 PROPERTYACTUATOR_H
#define PROPERTYACTUATOR_H

#include <actuator.h>

/**A PropertyActuator is a special kind of a general actuator.
  *@author Jan Walter
  */

class Actuator.html">PropertyActuator : public Actuator  {
public: 
	PropertyActuator();
	~PropertyActuator();
  /** Set the property on which to operate. If there is no property of this name, the call is ignored. */
  PyObject* setProperty(char* name);
  /** Return the property on which the actuator operates. */
  PyObject* getProperty();
  /** Set the value with which the actuator operates. If the value is not compatible with the type of the property, the subsequent action is ignored. */
  PyObject* setValue(char* value);
  /** Returns the value with which the actuator operates. */
  PyObject* getValue();
};

#endif

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