00001 00006 00007 #ifndef __KX_RANDOMEVENTMGR 00008 #define __KX_RANDOMEVENTMGR 00009 #include "SCA_EventManager.h" 00010 #include <vector> 00011 using namespace std; 00012 class SCA_RandomEventManager : public SCA_EventManager 00013 { 00014 00015 class SCA_LogicManager* m_logicmgr; 00016 public: 00017 SCA_RandomEventManager(class SCA_LogicManager* logicmgr) 00018 : m_logicmgr(logicmgr), 00019 SCA_EventManager(RANDOM_EVENTMGR) 00020 {} 00021 virtual void NextFrame(double curtime,double deltatime); 00022 virtual void RegisterSensor(SCA_ISensor* sensor); 00023 }; 00024 #endif //__KX_RANDOMEVENTMGR