Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/GameLogic/SCA_RayEventManager.h
- This file was moved from source/gameengine/Ketsji/KX_RayEventManager.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_RayEventManager.h | /** \file SCA_RayEventManager.h | ||||
| * \ingroup ketsji | * \ingroup gamelogic | ||||
| * \brief Manager for ray events | * \brief Manager for ray events | ||||
| */ | */ | ||||
| #ifndef __KX_RAYEVENTMANAGER_H__ | #ifndef __SCA_RAYEVENTMANAGER_H__ | ||||
| #define __KX_RAYEVENTMANAGER_H__ | #define __SCA_RAYEVENTMANAGER_H__ | ||||
| #include "SCA_EventManager.h" | #include "SCA_EventManager.h" | ||||
| #include <vector> | #include <vector> | ||||
| using namespace std; | using namespace std; | ||||
| class KX_RayEventManager : public SCA_EventManager | class SCA_RayEventManager : public SCA_EventManager | ||||
| { | { | ||||
| public: | public: | ||||
| KX_RayEventManager(class SCA_LogicManager* logicmgr) | SCA_RayEventManager(class SCA_LogicManager* logicmgr) | ||||
| : SCA_EventManager(logicmgr, RAY_EVENTMGR) | : SCA_EventManager(logicmgr, RAY_EVENTMGR) | ||||
| {} | {} | ||||
| virtual void NextFrame(); | virtual void NextFrame(); | ||||
| #ifdef WITH_CXX_GUARDEDALLOC | #ifdef WITH_CXX_GUARDEDALLOC | ||||
| MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_RayEventManager") | MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_RayEventManager") | ||||
| #endif | #endif | ||||
| }; | }; | ||||
| #endif /* __KX_RAYEVENTMANAGER_H__ */ | #endif /* __SCA_RAYEVENTMANAGER_H__ */ | ||||