Last change
on this file since 4195 was
3966,
checked in by bensch, 20 years ago
|
orxonox/trunk: merged branches/particleEngine into the trunk, because of the new vector class
merged with command:
svn merge -r 3922:HEAD particleEngine/ ../trunk/
not merged src/story_entities/world.cc. will do this at a later time (do not forget)
|
File size:
1.2 KB
|
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 | \todo this constructor is not jet implemented - do it |
---|
| 31 | */ |
---|
| 32 | TrackNode::TrackNode () |
---|
| 33 | { |
---|
[3528] | 34 | this->setClassName("TrackNode"); |
---|
[3545] | 35 | this->setName("TrackNode"); /* absolete but still used... */ |
---|
[3528] | 36 | |
---|
[3522] | 37 | NullParent::getInstance()->addChild(this); |
---|
| 38 | this->trackManager = TrackManager::getInstance(); |
---|
[3565] | 39 | this->setMode(PNODE_ALL); |
---|
[3522] | 40 | } |
---|
| 41 | |
---|
| 42 | |
---|
[3966] | 43 | TrackNode::TrackNode (const Vector& absCoordinate) |
---|
[3522] | 44 | { |
---|
| 45 | this->parent = NullParent::getInstance(); |
---|
| 46 | this->trackManager = TrackManager::getInstance(); |
---|
[3565] | 47 | this->setMode(PNODE_ALL); |
---|
[3966] | 48 | this->setAbsCoor(absCoordinate); |
---|
[3522] | 49 | } |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | /** |
---|
| 53 | \brief standard deconstructor |
---|
| 54 | |
---|
| 55 | \todo this deconstructor is not jet implemented - do it |
---|
| 56 | */ |
---|
| 57 | TrackNode::~TrackNode () |
---|
| 58 | { |
---|
[3556] | 59 | |
---|
[3522] | 60 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.