Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 5, 2006, 2:24:48 PM (18 years ago)
Author:
snellen
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/npcs/gate.cc

    r9229 r9233  
    3636CREATE_FACTORY(Gate, CL_GATE);
    3737
     38
     39#include "script_class.h"
     40CREATE_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                       );
    3849
    3950
Note: See TracChangeset for help on using the changeset viewer.