source:
orxonox.OLD/trunk/src/world_entities/npcs/npc.h
@
8032
Last change on this file since 8032 was 6981, checked in by bensch, 19 years ago | |
---|---|
File size: 337 bytes |
Rev | Line | |
---|---|---|
[1853] | 1 | |
[3224] | 2 | #ifndef _NPC_H |
3 | #define _NPC_H | |
[1853] | 4 | |
[2036] | 5 | #include "world_entity.h" |
[5257] | 6 | #include "physics_interface.h" |
[1853] | 7 | |
[2036] | 8 | class AI; |
[1904] | 9 | |
[6341] | 10 | class NPC : public WorldEntity { |
[1853] | 11 | |
12 | public: | |
13 | NPC (); | |
[6981] | 14 | virtual ~NPC (); |
[1853] | 15 | |
[1899] | 16 | |
[4977] | 17 | void addAI(AI* ai); |
[1899] | 18 | |
[5029] | 19 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
20 | ||
21 | ||
[1858] | 22 | private: |
[5029] | 23 | |
[5451] | 24 | WorldEntity* collider; |
[1858] | 25 | |
[1853] | 26 | }; |
27 | ||
[3224] | 28 | #endif /* _NPC_H */ |
Note: See TracBrowser
for help on using the repository browser.