Last change
on this file since 578 was
270,
checked in by rgrieder, 17 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:
608 bytes
|
Line | |
---|
1 | #include "ClassHierarchy.h" |
---|
2 | #include "OrxonoxClass.h" |
---|
3 | |
---|
4 | namespace orxonox |
---|
5 | { |
---|
6 | // ############################### |
---|
7 | // ### ClassHierarchy ### |
---|
8 | // ############################### |
---|
9 | ClassHierarchy* ClassHierarchy::pointer_ = NULL; |
---|
10 | |
---|
11 | ClassHierarchy* ClassHierarchy::getSingleton() |
---|
12 | { |
---|
13 | if (!pointer_) |
---|
14 | pointer_ = new ClassHierarchy(); |
---|
15 | |
---|
16 | return pointer_; |
---|
17 | } |
---|
18 | |
---|
19 | ClassHierarchy::ClassHierarchy() |
---|
20 | { |
---|
21 | this->hierarchyCreatingCounter_ = 0; |
---|
22 | } |
---|
23 | |
---|
24 | ClassHierarchy::~ClassHierarchy() |
---|
25 | { |
---|
26 | this->pointer_ = NULL; |
---|
27 | } |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.