Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/proto/proto_class.cc @ 4407

Last change on this file since 4407 was 4320, checked in by patrick, 20 years ago

orxonox/trunk: now string name of a class works parallel to the int id representation and is only used for documentation purposes

File size: 1.3 KB
Line 
1/*
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.
10
11   ### File Specific:
12   main-programmer: ...
13   co-programmer: ...
14*/
15
16//#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_
17
18#include "proto_class.h"
19
20using namespace std;
21
22
23/**
24   \brief standard constructor
25   \todo this constructor is not jet implemented - do it
26*/
27ProtoClass::ProtoClass () 
28{
29   this->setClassID(CL_PROTO_ID, "ProtoClass"); 
30
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_list.h eg. CL_NEW_CLASS
35
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   */
41}
42
43
44/**
45   \brief standard deconstructor
46
47*/
48ProtoClass::~ProtoClass () 
49{
50  // delete what has to be deleted here
51}
Note: See TracBrowser for help on using the repository browser.