source:
orxonox.OLD/trunk/src/world_entities/npcs/npc_test.h
@
8538
Last change on this file since 8538 was 6981, checked in by bensch, 19 years ago | |
---|---|
File size: 337 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 { |
[1853] | 11 | |
12 | public: | |
[5266] | 13 | NPC2 (); |
[6981] | 14 | virtual ~NPC2 (); |
[1853] | 15 | |
[1899] | 16 | |
[4977] | 17 | void addAI(AI* ai); |
[1899] | 18 | |
[5029] | 19 | virtual void tick(float dt); |
[5500] | 20 | virtual void draw() const; |
[1858] | 21 | |
22 | private: | |
[5059] | 23 | Vector randomRotAxis; |
[5266] | 24 | Shader* shader; |
25 | GLUquadricObj* obj; | |
[5029] | 26 | |
[1853] | 27 | }; |
28 | ||
[5266] | 29 | #endif /* _NPC2_H */ |
Note: See TracBrowser
for help on using the repository browser.