Last change
on this file since 243 was
232,
checked in by rgrieder, 18 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:
675 bytes
|
Rev | Line | |
---|
[232] | 1 | #ifndef _OrxonoxClass_H__ |
---|
| 2 | #define _OrxonoxClass_H__ |
---|
| 3 | |
---|
| 4 | #include "IdentifierList.h" |
---|
| 5 | #include "Identifier.h" |
---|
| 6 | |
---|
| 7 | namespace orxonox |
---|
| 8 | { |
---|
| 9 | class OrxonoxClass |
---|
| 10 | { |
---|
| 11 | public: |
---|
| 12 | OrxonoxClass(); |
---|
| 13 | ~OrxonoxClass(); |
---|
| 14 | Identifier* getIdentifier() { return this->identifier_; } |
---|
| 15 | void setIdentifier(Identifier* identifier) { this->identifier_ = identifier; } |
---|
| 16 | IdentifierList* getParents() { return this->parents_; } |
---|
| 17 | void setParents(IdentifierList* parents) { this->parents_ = parents; } |
---|
| 18 | |
---|
| 19 | private: |
---|
| 20 | Identifier* identifier_; |
---|
| 21 | IdentifierList* parents_; |
---|
| 22 | }; |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.