Last change
on this file since 454 was
375,
checked in by landauf, 17 years ago
|
added a "Tickable"-interface
added a "Timer"-class
|
File size:
861 bytes
|
Line | |
---|
1 | #ifndef _Test1_H__ |
---|
2 | #define _Test1_H__ |
---|
3 | |
---|
4 | #include "BaseObject.h" |
---|
5 | #include "Tickable.h" |
---|
6 | #include "test3.h" |
---|
7 | |
---|
8 | namespace orxonox |
---|
9 | { |
---|
10 | class Test1 : public BaseObject, public Tickable |
---|
11 | { |
---|
12 | public: |
---|
13 | Test1(); |
---|
14 | virtual ~Test1(); |
---|
15 | |
---|
16 | virtual void tick(float dt); |
---|
17 | |
---|
18 | bool usefullClass1isA(Identifier* identifier); |
---|
19 | bool usefullClass2isA(Identifier* identifier); |
---|
20 | bool usefullClass3isA(Identifier* identifier); |
---|
21 | void setUsefullClass1(Identifier* identifier); |
---|
22 | void setUsefullClass2(Identifier* identifier); |
---|
23 | void setUsefullClassOfTypeTest3(Identifier* identifier); |
---|
24 | |
---|
25 | private: |
---|
26 | Identifier* usefullClass1_; |
---|
27 | Identifier* usefullClass2_; |
---|
28 | SubclassIdentifier<Test3> usefullClass3_; |
---|
29 | |
---|
30 | }; |
---|
31 | } |
---|
32 | |
---|
33 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.