Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SCA_ORController.h

Go to the documentation of this file.
00001 
00006 
00007 #ifndef __KX_ORCONTROLLER
00008 #define __KX_ORCONTROLLER
00009 
00010 #include "SCA_IController.h"
00011 
00012 class SCA_ORController : public SCA_IController
00013 {
00014         Py_Header;
00015         //virtual void Trigger(class SCA_LogicManager* logicmgr);
00016 public:
00017         SCA_ORController(SCA_IObject* gameobj, PyTypeObject* T=&Type)
00018                 :SCA_IController(gameobj, T){};
00019 
00020         virtual ~SCA_ORController() {};
00021         virtual CValue* GetReplica() {
00022                 CValue* replica = new SCA_ORController(*this);
00023                 // this will copy properties and so on...
00024                 CValue::AddDataToReplica(replica);
00025                 return replica;
00026         };
00027         virtual void Trigger(SCA_LogicManager* logicmgr);
00028 
00029         /* --------------------------------------------------------------------- */
00030         /* Python interface ---------------------------------------------------- */
00031         /* --------------------------------------------------------------------- */
00032 
00033         virtual PyObject*  _getattr(char *attr);
00034 };
00035 
00036 #endif //__KX_ORCONTROLLER

Generated at Thu Feb 1 13:03:10 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000