00001 #ifndef __KX_TIMEEVENTMANAGER 00002 #define __KX_TIMEEVENTMANAGER 00003 00004 #include "SCA_EventManager.h" 00005 #include "Value.h" 00006 #include <vector> 00007 using namespace std; 00008 00009 class SCA_TimeEventManager : public SCA_EventManager 00010 { 00011 00012 vector<CValue*> m_timevalues; // values that need their time updated regularly 00013 00014 public: 00015 SCA_TimeEventManager(class SCA_LogicManager* logicmgr,class SCA_ISystem* system); 00016 virtual ~SCA_TimeEventManager(); 00017 virtual void NextFrame(double curtime,double deltatime); 00018 virtual void RegisterSensor(class SCA_ISensor* sensor); 00019 void AddTimeProperty(CValue* timeval); 00020 }; 00021 #endif //__KX_TIMEEVENTMANAGER