    /***************************************************************************
                              addobjectactuator.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 ADDOBJECTACTUATOR_H
    #define ADDOBJECTACTUATOR_H

    #include <actuator.h>

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

    class Actuator.html">AddObjectActuator : public Actuator  {
    public:
    	AddObjectActuator();
    	~AddObjectActuator();
      /** Sets the object that will be added. There has to be an object of this name. If not, this function does nothing. */
      PyObject* setObject(char* name);
      /** Returns the name of the object that will be added. */
      PyObject* getObject();
      /** Sets the lifetime of the object that will be added, in frames. If the duration is negative, it is set to 0. */
      PyObject* setTime(int duration);
      /** Returns the lifetime of the object that will be added. */
      PyObject* getTime();
      /** Assign this velocity to the created object. */
      PyObject* setLinearVelocity(float vx, float vy, float vz);
      /** Returns the linear velocity that will be assigned to the created object. */
      PyObject* getLinearVelocity();
    };

    #endif