|
Last change
on this file since 3553 was
3544,
checked in by bensch, 21 years ago
|
|
orxonox/trunk: now the delete-process is as inteded by c++
virtual ~ClassName extends deletion and deletes also the MasterClass
|
|
File size:
619 bytes
|
| Line | |
|---|
| 1 | /*! |
|---|
| 2 | \file track_node.h |
|---|
| 3 | \brief Definition of the TrackNode are located here |
|---|
| 4 | |
|---|
| 5 | the TrackNode is the node, that follows the Track (and the TrackManager) |
|---|
| 6 | through the level. |
|---|
| 7 | Under normal confitions the Plyaer(s) are |
|---|
| 8 | */ |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | #ifndef _TRACK_NODE_H |
|---|
| 12 | #define _TRACK_NODE_H |
|---|
| 13 | |
|---|
| 14 | #include "p_node.h" |
|---|
| 15 | |
|---|
| 16 | /* FORWARD DEFINITION */ |
|---|
| 17 | class TrackManager; |
|---|
| 18 | |
|---|
| 19 | class TrackNode : public PNode { |
|---|
| 20 | |
|---|
| 21 | public: |
|---|
| 22 | static TrackNode* getInstance (); |
|---|
| 23 | virtual ~TrackNode (); |
|---|
| 24 | |
|---|
| 25 | private: |
|---|
| 26 | TrackNode (); |
|---|
| 27 | TrackNode (Vector* absCoordinate); |
|---|
| 28 | |
|---|
| 29 | static TrackNode* singletonRef; |
|---|
| 30 | TrackManager* trackManager; |
|---|
| 31 | |
|---|
| 32 | }; |
|---|
| 33 | |
|---|
| 34 | #endif /* _TRACK_NODE_H */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.