/***************************************************************************
pythoncontroller.h - description
-------------------
begin : Thu Dec 14 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 PYTHONCONTROLLER_H
#define PYTHONCONTROLLER_H
#include <controller.h>
struct PyObject;
/**A PythonController is a special controller in Blender which can have a Python script bound to it. There are also sensors and actuators bound to this controller. The sensors are responsible for calling the Python script bound to the controller. The scripts "decides" how to react on this call and might call one of the actuators (or all) bound to the controller.
*@author Jan Walter
*/
class Controller.html">PythonController : public Controller {
public:
PythonController();
~PythonController();
/** Returns a Python list of actuators bound to the PythonController. */
PyObject* getActuators();
/** Returns a Python list of sensors bound to the PythonController.
*/
PyObject* getSensors();
};
#endif
Documentation generated by jan@nvidea on Thu Dec 21 14:04:43 CET 2000