Last change
on this file since 342 was
258,
checked in by landauf, 17 years ago
|
merged object-hierarchy back to trunk
|
File size:
393 bytes
|
Rev | Line | |
---|
[246] | 1 | #include "MetaObjectList.h" |
---|
| 2 | |
---|
| 3 | namespace orxonox |
---|
| 4 | { |
---|
| 5 | MetaObjectList::MetaObjectList() |
---|
| 6 | { |
---|
| 7 | this->first_ = 0; |
---|
| 8 | } |
---|
| 9 | |
---|
| 10 | MetaObjectList::~MetaObjectList() |
---|
| 11 | { |
---|
| 12 | BaseMetaObjectListElement* temp; |
---|
| 13 | while (this->first_) |
---|
| 14 | { |
---|
| 15 | temp = this->first_->next_; |
---|
| 16 | delete this->first_; |
---|
| 17 | this->first_ = temp; |
---|
| 18 | } |
---|
| 19 | } |
---|
| 20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.