source:
orxonox.OLD/trunk/src/util/track/track_node.cc
@
8844
| Last change on this file since 8844 was 6074, checked in by bensch, 20 years ago | |
|---|---|
| File size: 812 bytes | |
| Rev | Line | |
|---|---|---|
| [3522] | 1 | |
| 2 | ||
| [4597] | 3 | /* |
| [3522] | 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 "track_manager.h" | |
| 22 | ||
| 23 | using namespace std; | |
| 24 | ||
| 25 | /** | |
| [4836] | 26 | * standard constructor |
| [3522] | 27 | */ |
| [4597] | 28 | TrackNode::TrackNode () |
| [3522] | 29 | { |
| [4320] | 30 | this->setClassID(CL_TRACK_NODE, "TrackNode"); |
| [4597] | 31 | this->setName("TrackNode"); |
| [3528] | 32 | |
| [6074] | 33 | PNode::getNullParent()->addChild(this); |
| [3522] | 34 | this->trackManager = TrackManager::getInstance(); |
| [4444] | 35 | this->setParentMode(PNODE_ALL); |
| [3522] | 36 | } |
| 37 | ||
| 38 | /** | |
| [4836] | 39 | * standard deconstructor |
| [3522] | 40 | */ |
| [4597] | 41 | TrackNode::~TrackNode () |
| [3522] | 42 | { |
| [3556] | 43 | |
| [3522] | 44 | } |
Note: See TracBrowser
for help on using the repository browser.










