Changeset 9233 in orxonox.OLD for branches/presentation/src/world_entities/npcs/gate.cc
- Timestamp:
- Jul 5, 2006, 2:24:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/npcs/gate.cc
r9229 r9233 36 36 CREATE_FACTORY(Gate, CL_GATE); 37 37 38 39 #include "script_class.h" 40 CREATE_SCRIPTABLE_CLASS(Gate, CL_GATE, 41 addMethod("hide", ExecutorLua0<WorldEntity>(&WorldEntity::hide)) 42 ->addMethod("unhide", ExecutorLua0<WorldEntity>(&WorldEntity::unhide)) 43 // ->addMethod("destroy", ExecutorLua0<Gate>(&Gate::destroy())) 44 ->addMethod("setAbsCoor", ExecutorLua3<PNode,float,float,float>(&PNode::setAbsCoor)) 45 ->addMethod("getAbsCoorX", ExecutorLua0ret<PNode, float>(&PNode::getAbsCoorX)) 46 ->addMethod("getAbsCoorY", ExecutorLua0ret<PNode, float>(&PNode::getAbsCoorY)) 47 ->addMethod("getAbsCoorZ", ExecutorLua0ret<PNode, float>(&PNode::getAbsCoorZ)) 48 ); 38 49 39 50
Note: See TracChangeset
for help on using the changeset viewer.