source:
orxonox.OLD/trunk/src/world_entities/npcs/npc_test.h
@
10365
Last change on this file since 10365 was 10147, checked in by patrick, 18 years ago | |
---|---|
File size: 470 bytes |
Rev | Line | |
---|---|---|
[1853] | 1 | |
[5266] | 2 | #ifndef _NPC22_H |
3 | #define _NPC2_H | |
[1853] | 4 | |
[6004] | 5 | #include "npc.h" |
[1853] | 6 | |
[2036] | 7 | class AI; |
[5266] | 8 | class Shader; |
[1904] | 9 | |
[6004] | 10 | class NPC2 : public NPC { |
[9869] | 11 | ObjectListDeclaration(NPC2); |
[1853] | 12 | |
13 | public: | |
[9235] | 14 | NPC2 (const TiXmlElement* root); |
[6981] | 15 | virtual ~NPC2 (); |
[1853] | 16 | |
[9235] | 17 | virtual void loadParams(const TiXmlElement* root); |
[1899] | 18 | |
[4977] | 19 | void addAI(AI* ai); |
[1899] | 20 | |
[9235] | 21 | virtual void destroy(WorldEntity* killer); |
22 | ||
[5029] | 23 | virtual void tick(float dt); |
[10147] | 24 | // virtual void draw() const; |
[1858] | 25 | |
26 | private: | |
[5059] | 27 | Vector randomRotAxis; |
[5266] | 28 | Shader* shader; |
[1853] | 29 | }; |
30 | ||
[5266] | 31 | #endif /* _NPC2_H */ |
Note: See TracBrowser
for help on using the repository browser.