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

SCA_EndObjectActuator.h

Go to the documentation of this file.
00001 //
00002 // Add object to the game world on action of this actuator
00003 //
00004 // Version: $Id: SCA_EndObjectActuator_h-source.html,v 1.1 2001/02/01 12:25:12 coockie Exp $
00005 //
00006 
00007 #ifndef __KX_ENDOBJECTACTUATOR
00008 #define __KX_ENDOBJECTACTUATOR
00009 
00010 #include "SCA_IActuator.h"
00011 
00012 class SCA_EndObjectActuator : public SCA_IActuator
00013 {
00014         Py_Header;
00015         class SCA_IScene*               m_scene;
00016 
00017         // time field
00018         // object reference (object to add)
00019         //
00020  public:
00021         SCA_EndObjectActuator(SCA_IObject* gameobj, class SCA_IScene* scene,PyTypeObject* T=&Type);
00022         virtual ~SCA_EndObjectActuator();
00023         virtual CValue* GetReplica() {
00024                 SCA_EndObjectActuator* replica = new SCA_EndObjectActuator(*this);
00025                 replica->ProcessReplica();
00026                 // this will copy properties and so on...
00027                 CValue::AddDataToReplica(replica);
00028                 return replica;
00029         };
00030         virtual bool Update(double curtime,double deltatime);
00031 
00032         /* --------------------------------------------------------------------- */
00033         /* Python interface ---------------------------------------------------- */
00034         /* --------------------------------------------------------------------- */
00035         virtual PyObject*  _getattr(char *attr);
00036         
00037 }; /* end of class KX_EditObjectActuator : public SCA_PropertyActuator */
00038 
00039 #endif

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