Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/GameLogic/SCA_EndObjectActuator.h
- This file was moved from source/gameengine/Ketsji/KX_SCA_EndObjectActuator.h.
| Show All 19 Lines | |||||
| * | * | ||||
| * The Original Code is: all of this file. | * The Original Code is: all of this file. | ||||
| * | * | ||||
| * Contributor(s): none yet. | * Contributor(s): none yet. | ||||
| * | * | ||||
| * ***** END GPL LICENSE BLOCK ***** | * ***** END GPL LICENSE BLOCK ***** | ||||
| */ | */ | ||||
| /** \file KX_SCA_EndObjectActuator.h | /** \file SCA_EndObjectActuator.h | ||||
| * \ingroup ketsji | * \ingroup gamelogic | ||||
| * \brief Add object to the game world on action of this actuator | * \brief Add object to the game world on action of this actuator | ||||
| * \attention Previously existed as: source/gameengine/GameLogic/SCA_EndObjectActuator.h | * \attention Previously existed as: source/gameengine/GameLogic/SCA_EndObjectActuator.h | ||||
| * Please look here for revision history. | * Please look here for revision history. | ||||
| */ | */ | ||||
| #ifndef __KX_SCA_ENDOBJECTACTUATOR_H__ | #ifndef __SCA_ENDOBJECTACTUATOR_H__ | ||||
| #define __KX_SCA_ENDOBJECTACTUATOR_H__ | #define __SCA_ENDOBJECTACTUATOR_H__ | ||||
| #include "SCA_IActuator.h" | #include "SCA_IActuator.h" | ||||
| class SCA_IScene; | class SCA_IScene; | ||||
| class KX_SCA_EndObjectActuator : public SCA_IActuator | class SCA_EndObjectActuator : public SCA_IActuator | ||||
| { | { | ||||
| Py_Header | Py_Header | ||||
| SCA_IScene* m_scene; | SCA_IScene* m_scene; | ||||
| public: | public: | ||||
| KX_SCA_EndObjectActuator( | SCA_EndObjectActuator( | ||||
| SCA_IObject* gameobj, | SCA_IObject* gameobj, | ||||
| SCA_IScene* scene | SCA_IScene* scene | ||||
| ); | ); | ||||
| ~KX_SCA_EndObjectActuator(); | ~SCA_EndObjectActuator(); | ||||
| CValue* | CValue* | ||||
| GetReplica( | GetReplica( | ||||
| ); | ); | ||||
| virtual bool | virtual bool | ||||
| Update(); | Update(); | ||||
| virtual void Replace_IScene(SCA_IScene *val) | virtual void Replace_IScene(SCA_IScene *val) | ||||
| { | { | ||||
| m_scene= val; | m_scene= val; | ||||
| }; | } | ||||
| /* --------------------------------------------------------------------- */ | /* --------------------------------------------------------------------- */ | ||||
| /* Python interface ---------------------------------------------------- */ | /* Python interface ---------------------------------------------------- */ | ||||
| /* --------------------------------------------------------------------- */ | /* --------------------------------------------------------------------- */ | ||||
| }; /* end of class KX_EditObjectActuator : public SCA_PropertyActuator */ | }; /* end of class KX_EditObjectActuator : public SCA_PropertyActuator */ | ||||
| #endif | #endif | ||||