Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10511 in orxonox.OLD for trunk/src/world_entities/npcs


Ignore:
Timestamp:
Jan 30, 2007, 7:39:47 PM (18 years ago)
Author:
snellen
Message:

corrected typo in worldentity → setVisibiliy to setVisibility

Location:
trunk/src/world_entities/npcs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/npcs/generic_npc.cc

    r10415 r10511  
    4848                        ->addMethod("playAnimation", Executor2<GenericNPC, lua_State*,int,int>(&GenericNPC::playAnimation))
    4949                        // 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))
    5251                        // Coordinates
    5352                        ->addMethod("getAbsCoorX", Executor0ret<PNode, lua_State*, float>(&PNode::getAbsCoorX))
  • trunk/src/world_entities/npcs/npc.cc

    r10501 r10511  
    6565                        ->addMethod("fire", Executor0<NPC, lua_State*>(&NPC::fire))
    6666                        ->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))
    6968                       );
    7069
Note: See TracChangeset for help on using the changeset viewer.