Last change
on this file since 5168 was
5059,
checked in by bensch, 19 years ago
|
orxonox/trunk: cool raotating ships
|
File size:
333 bytes
|
Line | |
---|
1 | |
---|
2 | #ifndef _NPC_H |
---|
3 | #define _NPC_H |
---|
4 | |
---|
5 | #include "world_entity.h" |
---|
6 | |
---|
7 | class AI; |
---|
8 | |
---|
9 | class NPC : public WorldEntity { |
---|
10 | |
---|
11 | public: |
---|
12 | NPC (); |
---|
13 | ~NPC (); |
---|
14 | |
---|
15 | |
---|
16 | void addAI(AI* ai); |
---|
17 | |
---|
18 | virtual void tick(float dt); |
---|
19 | |
---|
20 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
---|
21 | |
---|
22 | |
---|
23 | private: |
---|
24 | Vector randomRotAxis; |
---|
25 | |
---|
26 | ; |
---|
27 | |
---|
28 | }; |
---|
29 | |
---|
30 | #endif /* _NPC_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.