Last change
on this file since 6683 was
6054,
checked in by bensch, 19 years ago
|
orxonox/trunk: multiple new Reparenting modes in PNode.
Testing the stuff in GuidedMissile
Projectile has a PNode as reference not as pointer
some minor weapon changes
|
File size:
329 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 (); |
---|
14 | ~NPC2 (); |
---|
15 | |
---|
16 | |
---|
17 | void addAI(AI* ai); |
---|
18 | |
---|
19 | virtual void tick(float dt); |
---|
20 | virtual void draw() const; |
---|
21 | |
---|
22 | private: |
---|
23 | Vector randomRotAxis; |
---|
24 | Shader* shader; |
---|
25 | GLUquadricObj* obj; |
---|
26 | |
---|
27 | }; |
---|
28 | |
---|
29 | #endif /* _NPC2_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.