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