Changeset 10177 in orxonox.OLD for branches/ai/src/ai/ai_team.cc
- Timestamp:
- Jan 3, 2007, 6:39:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ai/src/ai/ai_team.cc
r10158 r10177 19 19 void AITeam::process(float dt) 20 20 { 21 //int x;22 //int z;23 //Vector random;24 25 21 std::map<int,AISwarm*>::iterator it; 26 22 for (it= swarms.begin(); it!= swarms.end(); it++ ){ 27 28 //x = 20*(rand()%10 + 1)-100; 29 //z = 20*(rand()%10 + 1)-100; 30 //random=Vector(x,0,z); 31 23 32 24 it->second->setEnemyList(enemyList); 33 25 if(enemyList->size()>0) … … 36 28 } 37 29 } 30 38 31 39 32 void AITeam::addAI(int swarmNumber, AIModule* aiModule) … … 45 38 p.first->second->addAI(aiModule); 46 39 } 40 47 41 48 42 void AITeam::removeAI(int swarmNumber, AIModule* aiModule)
Note: See TracChangeset
for help on using the changeset viewer.