|
Last change
on this file since 6806 was
6341,
checked in by bensch, 20 years ago
|
|
orxonox/trunk: merged the network branche back to the trunk, so we do not get away from each other to fast
|
|
File size:
329 bytes
|
| Line | |
|---|
| 1 | |
|---|
| 2 | #ifndef _NPC_H |
|---|
| 3 | #define _NPC_H |
|---|
| 4 | |
|---|
| 5 | #include "world_entity.h" |
|---|
| 6 | #include "physics_interface.h" |
|---|
| 7 | |
|---|
| 8 | class AI; |
|---|
| 9 | |
|---|
| 10 | class NPC : public WorldEntity { |
|---|
| 11 | |
|---|
| 12 | public: |
|---|
| 13 | NPC (); |
|---|
| 14 | ~NPC (); |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | void addAI(AI* ai); |
|---|
| 18 | |
|---|
| 19 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | private: |
|---|
| 23 | |
|---|
| 24 | WorldEntity* collider; |
|---|
| 25 | |
|---|
| 26 | }; |
|---|
| 27 | |
|---|
| 28 | #endif /* _NPC_H */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.