source:
orxonox.OLD/trunk/src/world_entities/npcs/npc.h
@
10033
| Last change on this file since 10033 was 9869, checked in by bensch, 19 years ago | |
|---|---|
| File size: 317 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 | ObjectListDeclaration(NPC); |
| 11 | public: |
| 12 | NPC (const TiXmlElement* root); |
| 13 | virtual ~NPC (); |
| 14 | |
| 15 | virtual void loadParams(const TiXmlElement* root = NULL); |
| 16 | |
| 17 | void addAI(AI* ai); |
| 18 | |
| 19 | |
| 20 | private: |
| 21 | |
| 22 | }; |
| 23 | |
| 24 | #endif /* _NPC_H */ |
Note: See TracBrowser
for help on using the repository browser.










