Changeset 10041 in orxonox.OLD for branches/ai/src/world_entities/npcs/npc_test.cc
- Timestamp:
- Dec 11, 2006, 11:12:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ai/src/world_entities/npcs/npc_test.cc
r9947 r10041 32 32 33 33 #include "class_id_DEPRECATED.h" 34 34 35 ObjectListDefinitionID(NPC2, CL_NPC_TEST2); 35 36 CREATE_FACTORY(NPC2); … … 42 43 43 44 44 if (root != NULL) 45 this->loadParams(root); 45 if (root != NULL)this->loadParams(root); 46 47 addToTeam(0); 46 48 } 47 49 … … 63 65 void NPC2::tick(float dt) 64 66 { 67 68 65 69 // animating the md2 model (uninteressant) 66 70 if( likely(this->getModel(0) != NULL)) 67 71 ((MD2Model*)this->getModel(0))->tick(dt); 68 72 69 73 return; 74 //this things will now be managed by the AI modules....///// 70 75 71 76 PRINTF(0)("====================\n");
Note: See TracChangeset
for help on using the changeset viewer.