Changeset 10511 in orxonox.OLD for trunk/src/world_entities/npcs
- Timestamp:
- Jan 30, 2007, 7:39:47 PM (18 years ago)
- Location:
- trunk/src/world_entities/npcs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/npcs/generic_npc.cc
r10415 r10511 48 48 ->addMethod("playAnimation", Executor2<GenericNPC, lua_State*,int,int>(&GenericNPC::playAnimation)) 49 49 // Display 50 ->addMethod("hide", Executor0<WorldEntity, lua_State*>(&WorldEntity::hide)) 51 ->addMethod("unhide", Executor0<WorldEntity, lua_State*>(&WorldEntity::unhide)) 50 ->addMethod("setVisibility", Executor1<WorldEntity, lua_State*, bool>(&WorldEntity::setVisibility)) 52 51 // Coordinates 53 52 ->addMethod("getAbsCoorX", Executor0ret<PNode, lua_State*, float>(&PNode::getAbsCoorX)) -
trunk/src/world_entities/npcs/npc.cc
r10501 r10511 65 65 ->addMethod("fire", Executor0<NPC, lua_State*>(&NPC::fire)) 66 66 ->addMethod("pause", Executor1<WorldEntity, lua_State*, bool>(&WorldEntity::pauseTrack)) 67 ->addMethod("hide", Executor0<WorldEntity, lua_State*>(&WorldEntity::hide)) 68 ->addMethod("unhide", Executor0<WorldEntity, lua_State*>(&WorldEntity::unhide)) 67 ->addMethod("setVisibility", Executor1<WorldEntity, lua_State*, bool>(&WorldEntity::setVisibility)) 69 68 ); 70 69
Note: See TracChangeset
for help on using the changeset viewer.