/***************************************************************************
gamelogic.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 GAMELOGIC_H
#define GAMELOGIC_H
struct PyObject;
/**This is in fact no class it is a module in Python. But I use it here as a class to document the global functions availabe in the GameLogic module.
*@author Jan Walter
*/
class GameLogic {
public:
GameLogic();
~GameLogic();
/** Gives Python access to the PythonController which is connected to the Python script currently running. */
PyObject* getCurrentController();
/** Decides if an actuator linked to the PythonController should be active or not (bool value). */
PyObject* addActiveActuator(PyObject* actuator, int boolean);
};
#endif
Documentation generated by jan@nvidea on Thu Dec 21 14:04:43 CET 2000