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

KX_RayEventManager.cpp

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

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

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

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