Changeset 9757 in orxonox.OLD for branches/new_class_id/src/world_entities/npcs
- Timestamp:
- Sep 18, 2006, 10:06:19 PM (18 years ago)
- Location:
- branches/new_class_id/src/world_entities/npcs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/npcs/attractor_mine.cc
r9746 r9757 37 37 CREATE_FACTORY(AttractorMine); 38 38 #include "script_class.h" 39 CREATE_SCRIPTABLE_CLASS(AttractorMine, AttractorMine::classID(),39 CREATE_SCRIPTABLE_CLASS(AttractorMine, 40 40 addMethod("setName", Executor1<BaseObject, lua_State*,const std::string&>(&BaseObject::setName)) 41 41 //Coordinates -
branches/new_class_id/src/world_entities/npcs/gate.cc
r9746 r9757 37 37 38 38 #include "script_class.h" 39 CREATE_SCRIPTABLE_CLASS(Gate, Gate::classID(),39 CREATE_SCRIPTABLE_CLASS(Gate, 40 40 addMethod("hide", Executor0<WorldEntity, lua_State*>(&WorldEntity::hide)) 41 41 ->addMethod("unhide", Executor0<WorldEntity, lua_State*>(&WorldEntity::unhide)) -
branches/new_class_id/src/world_entities/npcs/generic_npc.cc
r9746 r9757 37 37 38 38 #include "script_class.h" 39 CREATE_SCRIPTABLE_CLASS(GenericNPC, GenericNPC::classID(),39 CREATE_SCRIPTABLE_CLASS(GenericNPC, 40 40 // Move 41 41 addMethod("walkTo", Executor3<GenericNPC, lua_State*,float,float,float>(&GenericNPC::walkTo)) … … 95 95 96 96 // collision reaction registration 97 this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, BspEntity:: classID());97 this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, BspEntity::staticClassID()); 98 98 } 99 99
Note: See TracChangeset
for help on using the changeset viewer.