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