|
Last change
on this file since 6806 was
6074,
checked in by bensch, 20 years ago
|
|
orxonox/trunk: taken out NullParent.
THE TRUNK IS NOT RUNNING FOR THE TIME BEING. DO NOT BE ALARMED, THIS IS TEMPORARY
|
|
File size:
812 bytes
|
| Line | |
|---|
| 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 "track_manager.h" |
|---|
| 22 | |
|---|
| 23 | using namespace std; |
|---|
| 24 | |
|---|
| 25 | /** |
|---|
| 26 | * standard constructor |
|---|
| 27 | */ |
|---|
| 28 | TrackNode::TrackNode () |
|---|
| 29 | { |
|---|
| 30 | this->setClassID(CL_TRACK_NODE, "TrackNode"); |
|---|
| 31 | this->setName("TrackNode"); |
|---|
| 32 | |
|---|
| 33 | PNode::getNullParent()->addChild(this); |
|---|
| 34 | this->trackManager = TrackManager::getInstance(); |
|---|
| 35 | this->setParentMode(PNODE_ALL); |
|---|
| 36 | } |
|---|
| 37 | |
|---|
| 38 | /** |
|---|
| 39 | * standard deconstructor |
|---|
| 40 | */ |
|---|
| 41 | TrackNode::~TrackNode () |
|---|
| 42 | { |
|---|
| 43 | |
|---|
| 44 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.