|
Last change
on this file since 280 was
270,
checked in by rgrieder, 18 years ago
|
- added old version of class hierarchy in order to make things work (is not actually needed, but will be later anyway)
- added the hud wrapper and the media files required
|
|
File size:
587 bytes
|
| Line | |
|---|
| 1 | #ifndef _ObjectList_H__ |
|---|
| 2 | #define _ObjectList_H__ |
|---|
| 3 | |
|---|
| 4 | namespace orxonox |
|---|
| 5 | { |
|---|
| 6 | class OrxonoxClass; |
|---|
| 7 | |
|---|
| 8 | class ObjectListElement |
|---|
| 9 | { |
|---|
| 10 | public: |
|---|
| 11 | ObjectListElement(OrxonoxClass* object); |
|---|
| 12 | ~ObjectListElement(); |
|---|
| 13 | |
|---|
| 14 | OrxonoxClass* object_; |
|---|
| 15 | ObjectListElement* next_; |
|---|
| 16 | }; |
|---|
| 17 | |
|---|
| 18 | class ObjectList |
|---|
| 19 | { |
|---|
| 20 | public: |
|---|
| 21 | ObjectList(); |
|---|
| 22 | ~ObjectList(); |
|---|
| 23 | void add(OrxonoxClass* object); |
|---|
| 24 | void remove(OrxonoxClass* object); |
|---|
| 25 | |
|---|
| 26 | ObjectListElement* first_; |
|---|
| 27 | }; |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.