Last change
on this file since 6946 was
5511,
checked in by bensch, 19 years ago
|
orxonox/trunk: more cleanup of the WorldEntity (includes rearanged)
|
File size:
500 bytes
|
Line | |
---|
1 | |
---|
2 | #ifndef _NPC22_H |
---|
3 | #define _NPC2_H |
---|
4 | |
---|
5 | #include "world_entity.h" |
---|
6 | #include "physics_interface.h" |
---|
7 | |
---|
8 | #include "glincl.h" |
---|
9 | |
---|
10 | class AI; |
---|
11 | class Shader; |
---|
12 | |
---|
13 | class NPC2 : public WorldEntity, public PhysicsInterface { |
---|
14 | |
---|
15 | public: |
---|
16 | NPC2 (); |
---|
17 | ~NPC2 (); |
---|
18 | |
---|
19 | |
---|
20 | void addAI(AI* ai); |
---|
21 | |
---|
22 | virtual void tick(float dt); |
---|
23 | virtual void draw() const; |
---|
24 | |
---|
25 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
---|
26 | |
---|
27 | |
---|
28 | private: |
---|
29 | Vector randomRotAxis; |
---|
30 | Shader* shader; |
---|
31 | GLUquadricObj* obj; |
---|
32 | |
---|
33 | }; |
---|
34 | |
---|
35 | #endif /* _NPC2_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.