Changeset 9178 in orxonox.OLD for branches/presentation/src/world_entities/npcs
- Timestamp:
- Jul 4, 2006, 10:47:00 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/npcs/attractor_mine.cc
r9176 r9178 34 34 35 35 CREATE_FACTORY(AttractorMine, CL_ATTRACTOR_MINE); 36 #include "script_class.h" 37 CREATE_SCRIPTABLE_CLASS(AttractorMine, CL_ATTRACTOR_MINE, 38 addMethod("setName", ExecutorLua1<BaseObject,const std::string&>(&BaseObject::setName)) 39 //Coordinates 40 ->addMethod("setAbsCoor", ExecutorLua3<PNode,float,float,float>(&PNode::setAbsCoor)) 41 ->addMethod("getAbsCoorX", ExecutorLua0ret<PNode, float>(&PNode::getAbsCoorX)) 42 ->addMethod("getAbsCoorY", ExecutorLua0ret<PNode, float>(&PNode::getAbsCoorY)) 43 ->addMethod("getAbsCoorZ", ExecutorLua0ret<PNode, float>(&PNode::getAbsCoorZ)) 44 ); 45 46 36 47 37 48
Note: See TracChangeset
for help on using the changeset viewer.