Changeset 10226 in orxonox.OLD for branches/ai/src/world_entities
- Timestamp:
- Jan 10, 2007, 6:31:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ai/src/world_entities/npcs/npc_test.cc
r10138 r10226 51 51 std::cout << "Team Number: " << teamNumber << "\n"; 52 52 std::cout << "Swarm Number:" << swarmNumber << "\n"; 53 aiModule=new MovementModule(this); 54 AIEngine::getInstance()->addAI(teamNumber,swarmNumber,aiModule); 53 //aiModule=new MovementModule(this); 54 //AIEngine::getInstance()->addAI(teamNumber,swarmNumber,aiModule); 55 AIEngine::getInstance()->addAI(teamNumber,swarmNumber,(WorldEntity*)this); 55 56 } 56 57 57 58 NPC2::~NPC2() 58 59 { 59 AIEngine::getInstance()->removeAI(teamNumber,swarmNumber, aiModule);60 AIEngine::getInstance()->removeAI(teamNumber,swarmNumber,(WorldEntity*)this); 60 61 } 61 62
Note: See TracChangeset
for help on using the changeset viewer.