Last change
on this file since 786 was
774,
checked in by rgrieder, 17 years ago
|
- changed executable from main to orxonox
- added src/orxonox to the include directories
|
File size:
956 bytes
|
Rev | Line | |
---|
[197] | 1 | #ifndef _Test1_H__ |
---|
| 2 | #define _Test1_H__ |
---|
| 3 | |
---|
[774] | 4 | #include "core/BaseObject.h" |
---|
[384] | 5 | #include "Tickable.h" |
---|
[197] | 6 | #include "test3.h" |
---|
[742] | 7 | #include "util/tinyxml/tinyxml.h" |
---|
[197] | 8 | |
---|
| 9 | namespace orxonox |
---|
| 10 | { |
---|
[384] | 11 | class Test1 : public BaseObject, public Tickable |
---|
[197] | 12 | { |
---|
| 13 | public: |
---|
| 14 | Test1(); |
---|
| 15 | virtual ~Test1(); |
---|
| 16 | |
---|
[384] | 17 | virtual void tick(float dt); |
---|
| 18 | |
---|
[197] | 19 | bool usefullClass1isA(Identifier* identifier); |
---|
| 20 | bool usefullClass2isA(Identifier* identifier); |
---|
| 21 | bool usefullClass3isA(Identifier* identifier); |
---|
| 22 | void setUsefullClass1(Identifier* identifier); |
---|
| 23 | void setUsefullClass2(Identifier* identifier); |
---|
| 24 | void setUsefullClassOfTypeTest3(Identifier* identifier); |
---|
[742] | 25 | |
---|
[480] | 26 | void loadParams(TiXmlElement* xmlElem); |
---|
[197] | 27 | |
---|
| 28 | private: |
---|
| 29 | Identifier* usefullClass1_; |
---|
| 30 | Identifier* usefullClass2_; |
---|
[242] | 31 | SubclassIdentifier<Test3> usefullClass3_; |
---|
[197] | 32 | |
---|
| 33 | }; |
---|
| 34 | } |
---|
| 35 | |
---|
| 36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.