Changeset 8917 in orxonox.OLD for branches/single_player_map/src/world_entities/npcs
- Timestamp:
- Jun 29, 2006, 6:48:00 PM (18 years ago)
- Location:
- branches/single_player_map/src/world_entities/npcs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/npcs/generic_npc.cc
r8915 r8917 37 37 // Move 38 38 addMethod("walkTo", ExecutorLua3<GenericNPC,float,float,float>(&GenericNPC::walkTo)) 39 ->addMethod("runTo", ExecutorLua3<GenericNPC,float,float,float>(&GenericNPC::runTo)) 39 40 ->addMethod("turnTo", ExecutorLua1<GenericNPC,float>(&GenericNPC::turnTo)) 41 ->addMethod("finalGoalReached", ExecutorLua0ret<GenericNPC,bool>(&GenericNPC::finalGoalReached)) 40 42 // Display 41 43 ->addMethod("hide", ExecutorLua0<WorldEntity>(&WorldEntity::hide)) -
branches/single_player_map/src/world_entities/npcs/generic_npc.h
r8909 r8917 36 36 37 37 38 bool finalGoalReached() const{ return this->behaviourList.empty(); };38 bool finalGoalReached() { return this->behaviourList.empty(); }; 39 39 40 40 /* npc controlling functions to be Queued */
Note: See TracChangeset
for help on using the changeset viewer.