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

SCA_IController.cpp

Go to the documentation of this file.
00001 #include "SCA_IController.h"
00002 #include "SCA_LogicManager.h"
00003 #include "SCA_IActuator.h"
00004 /*
00005 void SCA_IController::Trigger(SCA_LogicManager* logicmgr)

00006 {

00007         //for (int i=0;i<m_linkedactuators.size();i++)

00008         for (vector<SCA_IActuator*>::const_iterator i=m_linkedactuators.begin();

00009         !(i==m_linkedactuators.end());i++)

00010         {

00011                 SCA_IActuator* actua = *i;//m_linkedactuators.at(i);

00012                 

00013                 logicmgr->AddActiveActuator(actua);

00014         }

00015 
00016 }

00017 */
00018 
00019 void SCA_IController::LinkToActuator(SCA_IActuator* actua)

00020 {
00021         m_linkedactuators.push_back(actua);
00022 }
00023 void SCA_IController::LinkToSensor(SCA_ISensor* sensor)

00024 {
00025         m_linkedsensors.push_back(sensor);
00026 }

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