Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2006, 3:04:14 PM (18 years ago)
Author:
snellen
Message:

script_engine: swapping to integrate into the ORXONOX framework

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/script_engine/src/lib/script_engine/scriptable.cc

    r8183 r8193  
    1616//#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_
    1717
    18 #include "proto_class.h"
     18#include "scriptable.h"
    1919
    2020using namespace std;
     
    2525 * @todo this constructor is not jet implemented - do it
    2626*/
    27 ProtoClass::ProtoClass ()
     27Scriptable::Scriptable(const std::string& name, ClassID classID)
     28 : BaseObject(name)
    2829{
    29    this->setClassID(CL_PROTO_ID, "ProtoClass");
     30   this->setClassID(CL_SCRIPTABLE, "Scriptable");
     31   this->classID = classID;
    3032
    31    /* If you make a new class, what is most probably the case when you write this file
    32       don't forget to:
    33        1. Add the new file new_class.cc to the ./src/Makefile.am
    34        2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS
    3533
    36       Advanced Topics:
    37       - if you want to let your object be managed via the ObjectManager make sure to read
    38         the object_manager.h header comments. You will use this most certanly only if you
    39         make many objects of your class, like a weapon bullet.
    40    */
    4134}
    4235
     
    4538 * standard deconstructor
    4639*/
    47 ProtoClass::~ProtoClass ()
     40Scriptable::~Scriptable ()
    4841{
    4942  // delete what has to be deleted here
Note: See TracChangeset for help on using the changeset viewer.