Last change
on this file since 5835 was
5750,
checked in by bensch, 19 years ago
|
orxonox/trunk: merged the WorldEntities into the Trunk.
Merged with command:
svn merge branches/world_entities/ trunk/ -r5516:HEAD
conflics from world_entities changed in favor of branches/world_entity
all other conflict in favor of the trunk
|
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.