Changeset 10406 in orxonox.OLD for trunk/src/world_entities/npcs
- Timestamp:
- Jan 27, 2007, 3:27:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/npcs/npc.cc
r10387 r10406 41 41 CREATE_FACTORY(NPC); 42 42 43 44 #include "script_class.h" 45 CREATE_SCRIPTABLE_CLASS(NPC, 46 addMethod("getAbsCoorX", Executor0ret<PNode, lua_State*, float>(&PNode::getAbsCoorX)) 47 ->addMethod("getAbsCoorY", Executor0ret<PNode, lua_State*, float>(&PNode::getAbsCoorY)) 48 ->addMethod("getAbsCoorZ", Executor0ret<PNode, lua_State*, float>(&PNode::getAbsCoorZ)) 49 ->addMethod("setAbsCoor", Executor3<PNode, lua_State*,float,float,float>(&PNode::setAbsCoor)) 50 ->addMethod("setAbsDir", Executor4<PNode, lua_State*,float,float,float,float>(&PNode::setAbsDir)) 51 ); 43 52 44 53 NPC::NPC(const TiXmlElement* root)
Note: See TracChangeset
for help on using the changeset viewer.