1 | /* |
---|
2 | orxonox - the future of 3D-vertical-scrollers |
---|
3 | |
---|
4 | Copyright (C) 2004 orx |
---|
5 | |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2, or (at your option) |
---|
9 | any later version. |
---|
10 | |
---|
11 | ### File Specific: |
---|
12 | main-programmer: Thomas Fahrni |
---|
13 | co-programmer: |
---|
14 | */ |
---|
15 | |
---|
16 | // #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_AI |
---|
17 | // #include "ai_team_member.h" |
---|
18 | // #include "movement_module.h" |
---|
19 | // #include "ai_engine.h" |
---|
20 | // #include "debug.h" |
---|
21 | // |
---|
22 | // |
---|
23 | // |
---|
24 | // void AITeamMember::process() |
---|
25 | // { |
---|
26 | // int moduleCount=modules.size(); |
---|
27 | // for(int i=0; i < moduleCount; i++ ) |
---|
28 | // { |
---|
29 | // //std::cout << "Processing AIModule " << i << " (" << moduleCount << ")\n"; |
---|
30 | // modules.at(i)->process(); |
---|
31 | // } |
---|
32 | // } |
---|
33 | // |
---|
34 | // |
---|
35 | // |
---|
36 | // |
---|
37 | // void AITeamMember::addToTeam(int aiTeamNumber) |
---|
38 | // { |
---|
39 | // //macht nicht so ganz das was es eigntlich machen sollte.. |
---|
40 | // AIEngine* aiEngine=AIEngine::getInstance(); |
---|
41 | // int teamNumber=aiEngine->newTeam(); |
---|
42 | // aiEngine->getTeam(teamNumber)->addMember(this); |
---|
43 | // |
---|
44 | // MovementModule* nMod=new MovementModule; |
---|
45 | // addModule(nMod); |
---|
46 | // //nMod->testModule=nMod; |
---|
47 | // } |
---|
48 | // |
---|
49 | // |
---|
50 | // |
---|
51 | // |
---|
52 | // void AITeamMember::addModule(AIModule* newModule) |
---|
53 | // { |
---|
54 | // std::cout << "AIModule added\n"; |
---|
55 | // modules.push_back(newModule); |
---|
56 | // newModule->setOwner(this); |
---|
57 | // } |
---|