Line | |
---|
1 | |
---|
2 | #ifndef _NPC22_H |
---|
3 | #define _NPC2_H |
---|
4 | |
---|
5 | #include "world_entity.h" |
---|
6 | #include "physics_interface.h" |
---|
7 | |
---|
8 | class AI; |
---|
9 | class Shader; |
---|
10 | |
---|
11 | class NPC2 : public WorldEntity, public PhysicsInterface { |
---|
12 | |
---|
13 | public: |
---|
14 | NPC2 (); |
---|
15 | ~NPC2 (); |
---|
16 | |
---|
17 | |
---|
18 | void addAI(AI* ai); |
---|
19 | |
---|
20 | virtual void tick(float dt); |
---|
21 | virtual void draw(); |
---|
22 | |
---|
23 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
---|
24 | |
---|
25 | |
---|
26 | private: |
---|
27 | Vector randomRotAxis; |
---|
28 | Shader* shader; |
---|
29 | GLUquadricObj* obj; |
---|
30 | |
---|
31 | }; |
---|
32 | |
---|
33 | #endif /* _NPC2_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.