Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10688 was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 1.2 KB
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:
12   main-programmer: ...
13   co-programmer: ...
[1853]14*/
15
[3955]16//#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_
[1853]17
18#include "proto_class.h"
[9869]19ObjectListDefinition(ProtoClass);
[1853]20
21
[1856]22
[9406]23
[3245]24/**
[4838]25 * standard constructor
26 * @todo this constructor is not jet implemented - do it
[3245]27*/
[4744]28ProtoClass::ProtoClass ()
[3365]29{
[9869]30  this->registerObject(this, ProtoClass::_objectList);
[4320]31
32   /* If you make a new class, what is most probably the case when you write this file
33      don't forget to:
34       1. Add the new file new_class.cc to the ./src/Makefile.am
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
[4744]39        make many objects of your class, like a weapon bullet.
[4320]40   */
[3365]41}
[1853]42
43
[3245]44/**
[4838]45 * standard deconstructor
[3245]46*/
[4744]47ProtoClass::~ProtoClass ()
[3543]48{
49  // delete what has to be deleted here
50}
Note: See TracBrowser for help on using the repository browser.