Last change
on this file since 337 was
232,
checked in by rgrieder, 17 years ago
|
- modified the AmmunitionDump to hold different types of ammo
- converted the RunManager into a Singleton
- added some methods to address ammo by string
- created a BaseWeapon class
- derived BarrelGun from BaseWeapon
|
File size:
308 bytes
|
Rev | Line | |
---|
[232] | 1 | #include "ClassHierarchy.h" |
---|
| 2 | #include "OrxonoxClass.h" |
---|
| 3 | |
---|
| 4 | namespace orxonox |
---|
| 5 | { |
---|
| 6 | OrxonoxClass::OrxonoxClass() |
---|
| 7 | { |
---|
| 8 | this->identifier_ = 0; |
---|
| 9 | this->parents_ = 0; |
---|
| 10 | } |
---|
| 11 | |
---|
| 12 | OrxonoxClass::~OrxonoxClass() |
---|
| 13 | { |
---|
| 14 | if (this->parents_) |
---|
| 15 | delete this->parents_; |
---|
| 16 | } |
---|
| 17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.