Last change
on this file since 232 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:
773 bytes
|
Rev | Line | |
---|
[232] | 1 | #ifndef _Test2_H__ |
---|
| 2 | #define _Test2_H__ |
---|
| 3 | |
---|
| 4 | #include "BaseObject.h" |
---|
| 5 | |
---|
| 6 | namespace orxonox |
---|
| 7 | { |
---|
| 8 | class Test3; |
---|
| 9 | |
---|
| 10 | class Test2 : public BaseObject |
---|
| 11 | { |
---|
| 12 | public: |
---|
| 13 | Test2(); |
---|
| 14 | virtual ~Test2(); |
---|
| 15 | |
---|
| 16 | bool usefullClass1isA(Identifier* identifier); |
---|
| 17 | bool usefullClass2isA(Identifier* identifier); |
---|
| 18 | bool usefullClass3isA(Identifier* identifier); |
---|
| 19 | void setUsefullClass1(Identifier* identifier); |
---|
| 20 | void setUsefullClass2(Identifier* identifier); |
---|
| 21 | void setUsefullClassOfTypeTest3(Identifier* identifier); |
---|
| 22 | |
---|
| 23 | private: |
---|
| 24 | Identifier* usefullClass1_; |
---|
| 25 | Identifier* usefullClass2_; |
---|
| 26 | BaseIdentifier<Test3> usefullClass3_; |
---|
| 27 | |
---|
| 28 | }; |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.