00001 #ifndef __KX_ALWAYSEVENTMGR 00002 #define __KX_ALWAYSEVENTMGR 00003 #include "SCA_EventManager.h" 00004 #include <vector> 00005 using namespace std; 00006 class SCA_AlwaysEventManager : public SCA_EventManager 00007 { 00008 00009 class SCA_LogicManager* m_logicmgr; 00010 public: 00011 SCA_AlwaysEventManager(class SCA_LogicManager* logicmgr) 00012 : m_logicmgr(logicmgr), 00013 SCA_EventManager(ALWAYS_EVENTMGR) 00014 {} 00015 virtual void NextFrame(double curtime,double deltatime); 00016 virtual void RegisterSensor(SCA_ISensor* sensor); 00017 00018 00019 }; 00020 #endif //__KX_ALWAYSEVENTMGR