Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/script_engine/script_class.cc @ 8898

Last change on this file since 8898 was 8711, checked in by bensch, 18 years ago

merged the script_engine back here

File size: 966 bytes
RevLine 
[4744]1/*
[1853]2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
[1855]10
11   ### File Specific:
[8711]12   main-programmer: Benjamin Grauer
[1855]13   co-programmer: ...
[1853]14*/
15
[3955]16//#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_
[1853]17
[8202]18#include "script_class.h"
[8408]19#include <cassert>
[1853]20
[3245]21/**
[8408]22 * @brief standard constructor
[4838]23 * @todo this constructor is not jet implemented - do it
[3245]24*/
[8408]25ScriptClass::ScriptClass(const std::string& name, ClassID classID, ScriptMethod* scriptMethods)
26    : BaseObject(name)
[3365]27{
[8408]28  assert(scriptMethods != NULL);
29  this->setClassID(CL_SCRIPT_CLASS, "ScriptClass");
30
31  this->_classID = classID;
32
33  this->_scriptMethods = scriptMethods;
[3365]34}
[1853]35
36
[3245]37/**
[4838]38 * standard deconstructor
[3245]39*/
[8202]40ScriptClass::~ScriptClass ()
[3543]41{
[8408]42  delete this->_scriptMethods;
[3543]43}
Note: See TracBrowser for help on using the repository browser.