Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 10:47:00 PM (18 years ago)
Author:
snellen
Message:

variaous changes

File:
1 edited

Legend:

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

    r9176 r9178  
    3434
    3535CREATE_FACTORY(AttractorMine, CL_ATTRACTOR_MINE);
     36#include "script_class.h"
     37CREATE_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
    3647
    3748
Note: See TracChangeset for help on using the changeset viewer.