Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10071 in orxonox.OLD for branches/ai/src/ai/ai_team_member.cc


Ignore:
Timestamp:
Dec 13, 2006, 6:59:23 PM (17 years ago)
Author:
tfahrni
Message:

made some ai changes..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ai/src/ai/ai_team_member.cc

    r10045 r10071  
    3434        for(int i=0; i < moduleCount; i++ )
    3535        {
    36         std::cout << "Processing AIModule " << i << " (" << moduleCount << ")\n";
     36        //std::cout << "Processing AIModule " << i << " (" << moduleCount << ")\n";
    3737        modules.at(i)->process();
    3838        }
     
    4848        int teamNumber=aiEngine->newTeam();
    4949        aiEngine->getTeam(teamNumber)->addMember(this);
     50
    5051        MovementModule* nMod=new MovementModule;
    51         nMod->process();
    52         modules.push_back(nMod);
    53         modules.at(0)->process();
     52        addModule(nMod);
     53        //nMod->testModule=nMod;
    5454}
    5555
Note: See TracChangeset for help on using the changeset viewer.