Changeset View
Changeset View
Standalone View
Standalone View
source/gameengine/GameLogic/SCA_RayEventManager.cpp
- This file was moved from source/gameengine/Ketsji/KX_RayEventManager.cpp.
| Show All 22 Lines | |||||
| * | * | ||||
| * The Original Code is: all of this file. | * The Original Code is: all of this file. | ||||
| * | * | ||||
| * Contributor(s): none yet. | * Contributor(s): none yet. | ||||
| * | * | ||||
| * ***** END GPL LICENSE BLOCK ***** | * ***** END GPL LICENSE BLOCK ***** | ||||
| */ | */ | ||||
| /** \file gameengine/Ketsji/KX_RayEventManager.cpp | /** \file gameengine/GameLogic/SCA_RayEventManager.cpp | ||||
| * \ingroup ketsji | * \ingroup gamelogic | ||||
| */ | */ | ||||
| #include "KX_RayEventManager.h" | #include "SCA_RayEventManager.h" | ||||
| #include "SCA_LogicManager.h" | #include "SCA_LogicManager.h" | ||||
| #include "SCA_ISensor.h" | #include "SCA_ISensor.h" | ||||
| #include <vector> | #include <vector> | ||||
| using namespace std; | using namespace std; | ||||
| #include <iostream> | #include <iostream> | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| void KX_RayEventManager::NextFrame() | void SCA_RayEventManager::NextFrame() | ||||
| { | { | ||||
| SG_DList::iterator<SCA_ISensor> it(m_sensors); | SG_DList::iterator<SCA_ISensor> it(m_sensors); | ||||
| for (it.begin();!it.end();++it) | for (it.begin();!it.end();++it) | ||||
| { | { | ||||
| (*it)->Activate(m_logicmgr); | (*it)->Activate(m_logicmgr); | ||||
| } | } | ||||
| } | } | ||||