source:
orxonox.OLD/branches/presentation/src/world_entities/npcs/npc_test.h
@
9163
Last change on this file since 9163 was 9161, checked in by bensch, 18 years ago | |
---|---|
File size: 414 bytes |
Line | |
---|---|
1 | |
2 | #ifndef _NPC22_H |
3 | #define _NPC2_H |
4 | |
5 | #include "npc.h" |
6 | |
7 | class AI; |
8 | class Shader; |
9 | |
10 | class NPC2 : public NPC { |
11 | |
12 | public: |
13 | NPC2 (const TiXmlElement* root); |
14 | virtual ~NPC2 (); |
15 | |
16 | virtual void loadParams(const TiXmlElement* root); |
17 | |
18 | void addAI(AI* ai); |
19 | |
20 | virtual void tick(float dt); |
21 | virtual void draw() const; |
22 | |
23 | private: |
24 | Vector randomRotAxis; |
25 | Shader* shader; |
26 | GLUquadricObj* obj; |
27 | |
28 | }; |
29 | |
30 | #endif /* _NPC2_H */ |
Note: See TracBrowser
for help on using the repository browser.