Last change
on this file since 244 was
244,
checked in by landauf, 16 years ago
|
reimplementation of the factory and parts of the class-hierarchy-generating-algorithm. interfaces with protected constructors are now allowed.
|
File size:
247 bytes
|
Line | |
---|
1 | #include "BaseObject.h" |
---|
2 | |
---|
3 | namespace orxonox |
---|
4 | { |
---|
5 | CreateFactory(BaseObject); |
---|
6 | |
---|
7 | BaseObject::BaseObject() |
---|
8 | { |
---|
9 | RegisterRootObject(BaseObject); |
---|
10 | } |
---|
11 | |
---|
12 | BaseObject::~BaseObject() |
---|
13 | { |
---|
14 | UnregisterObject(); |
---|
15 | } |
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.