Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SCA_AlwaysEventManager.cpp

Go to the documentation of this file.
00001 
00007 
00008 #include "SCA_AlwaysEventManager.h"
00009 #include "SCA_LogicManager.h"
00010 #include <vector>
00011 #include "SCA_ISensor.h"
00012 using namespace std;
00013 
00014 void SCA_AlwaysEventManager::NextFrame(double curtime,double deltatime)

00015 {
00016         for (vector<class SCA_ISensor*>::const_iterator i= m_sensors.begin();!(i==m_sensors.end());i++)
00017         {
00018                 
00019                 SCA_ISensor* sensor = *i;
00020                 sensor->Activate(m_logicmgr, NULL);
00021         }
00022 }
00023 
00024 void    SCA_AlwaysEventManager::RegisterSensor(SCA_ISensor* sensor)

00025 {
00026         m_sensors.push_back(sensor);
00027 };

Generated at Thu Feb 1 13:03:09 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000