Last change
on this file since 3542 was
3533,
checked in by bensch, 20 years ago
|
orxonox/trunk: added some more files to the new destructor-type
|
File size:
637 bytes
|
Rev | Line | |
---|
[3522] | 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 (); |
---|
[3533] | 23 | virtual ~TrackNode (); |
---|
| 24 | void destroy(); |
---|
[3522] | 25 | |
---|
| 26 | private: |
---|
| 27 | TrackNode (); |
---|
| 28 | TrackNode (Vector* absCoordinate); |
---|
| 29 | |
---|
| 30 | static TrackNode* singletonRef; |
---|
| 31 | TrackManager* trackManager; |
---|
| 32 | |
---|
| 33 | }; |
---|
| 34 | |
---|
| 35 | #endif /* _TRACK_NODE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.