Changeset 8811 in orxonox.OLD for branches/single_player_map/src/world_entities
- Timestamp:
- Jun 26, 2006, 5:46:42 PM (18 years ago)
- Location:
- branches/single_player_map/src/world_entities/npcs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/npcs/generic_npc.cc
r8810 r8811 38 38 CREATE_FACTORY(GenericNPC, CL_GENERIC_NPC); 39 39 40 #include "script_class.h" 41 CREATE_SCRIPTABLE_CLASS(GenericNPC, CL_GENERIC_NPC, 42 addMethod("walkTo", ExecutorLua7ret<GenericNPC,float, float, float, float, float, float, float, float>(&GenericNPC::walkTo)) 43 ); 44 40 45 41 46 … … 52 57 } 53 58 59 60 GenericNPC::GenericNPC() 61 : NPC(NULL) 62 { 63 64 } 54 65 55 66 /** -
branches/single_player_map/src/world_entities/npcs/generic_npc.h
r8810 r8811 28 28 { 29 29 public: 30 GenericNPC(); 30 31 GenericNPC(const TiXmlElement* root); 31 32 virtual ~GenericNPC (); -
branches/single_player_map/src/world_entities/npcs/npc.cc
r8724 r8811 50 50 void NPC::loadParams(const TiXmlElement* root) 51 51 { 52 WorldEntity::loadParams(root); 52 if(root != NULL) 53 WorldEntity::loadParams(root); 53 54 } 54 55
Note: See TracChangeset
for help on using the changeset viewer.