Last change
on this file since 4489 was
4489,
checked in by bensch, 19 years ago
|
orxonox/trunk: track: doxy-tags, redesign, and minor speed-update
|
File size:
890 bytes
|
Rev | Line | |
---|
[3522] | 1 | |
---|
| 2 | |
---|
| 3 | /* |
---|
| 4 | orxonox - the future of 3D-vertical-scrollers |
---|
| 5 | |
---|
| 6 | Copyright (C) 2004 orx |
---|
| 7 | |
---|
| 8 | This program is free software; you can redistribute it and/or modify |
---|
| 9 | it under the terms of the GNU General Public License as published by |
---|
| 10 | the Free Software Foundation; either version 2, or (at your option) |
---|
| 11 | any later version. |
---|
| 12 | |
---|
| 13 | ### File Specific: |
---|
| 14 | main-programmer: Benjamin Grauer |
---|
| 15 | co-programmer: ... |
---|
| 16 | */ |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | #include "track_node.h" |
---|
| 20 | |
---|
| 21 | #include "null_parent.h" |
---|
| 22 | |
---|
| 23 | #include "track_manager.h" |
---|
| 24 | |
---|
| 25 | using namespace std; |
---|
| 26 | |
---|
| 27 | /** |
---|
| 28 | \brief standard constructor |
---|
| 29 | */ |
---|
| 30 | TrackNode::TrackNode () |
---|
| 31 | { |
---|
[4320] | 32 | this->setClassID(CL_TRACK_NODE, "TrackNode"); |
---|
[3545] | 33 | this->setName("TrackNode"); /* absolete but still used... */ |
---|
[3528] | 34 | |
---|
[3522] | 35 | NullParent::getInstance()->addChild(this); |
---|
| 36 | this->trackManager = TrackManager::getInstance(); |
---|
[4444] | 37 | this->setParentMode(PNODE_ALL); |
---|
[3522] | 38 | } |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | /** |
---|
| 42 | \brief standard deconstructor |
---|
| 43 | */ |
---|
| 44 | TrackNode::~TrackNode () |
---|
| 45 | { |
---|
[3556] | 46 | |
---|
[3522] | 47 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.