Last change
on this file since 5058 was
5029,
checked in by patrick, 19 years ago
|
orxonox/trunk: some changes in the NPC interface class
|
File size:
306 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 | |
---|
25 | ; |
---|
26 | |
---|
27 | }; |
---|
28 | |
---|
29 | #endif /* _NPC_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.