/* orxonox - the future of 3D-vertical-scrollers Copyright (C) 2004 orx This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. ### File Specific: main-programmer: Thomas Fahrni co-programmer: */ // #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_AI // #include "ai_team_member.h" // #include "movement_module.h" // #include "ai_engine.h" // #include "debug.h" // // // // void AITeamMember::process() // { // int moduleCount=modules.size(); // for(int i=0; i < moduleCount; i++ ) // { // //std::cout << "Processing AIModule " << i << " (" << moduleCount << ")\n"; // modules.at(i)->process(); // } // } // // // // // void AITeamMember::addToTeam(int aiTeamNumber) // { // //macht nicht so ganz das was es eigntlich machen sollte.. // AIEngine* aiEngine=AIEngine::getInstance(); // int teamNumber=aiEngine->newTeam(); // aiEngine->getTeam(teamNumber)->addMember(this); // // MovementModule* nMod=new MovementModule; // addModule(nMod); // //nMod->testModule=nMod; // } // // // // // void AITeamMember::addModule(AIModule* newModule) // { // std::cout << "AIModule added\n"; // modules.push_back(newModule); // newModule->setOwner(this); // }