Last change
on this file since 5845 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:
446 bytes
|
Line | |
---|
1 | |
---|
2 | #ifndef _NPC_Test1_H |
---|
3 | #define _NPC_Test1_H |
---|
4 | |
---|
5 | #include "world_entity.h" |
---|
6 | #include "physics_interface.h" |
---|
7 | |
---|
8 | class AI; |
---|
9 | |
---|
10 | class NPCTest1 : public WorldEntity, public PhysicsInterface { |
---|
11 | |
---|
12 | public: |
---|
13 | NPCTest1 (); |
---|
14 | ~NPCTest1 (); |
---|
15 | |
---|
16 | |
---|
17 | void addAI(AI* ai); |
---|
18 | |
---|
19 | virtual void tick(float dt); |
---|
20 | |
---|
21 | virtual void collidesWith (WorldEntity* entity, const Vector& location); |
---|
22 | |
---|
23 | |
---|
24 | private: |
---|
25 | Vector randomRotAxis; |
---|
26 | |
---|
27 | WorldEntity* collider; |
---|
28 | |
---|
29 | }; |
---|
30 | |
---|
31 | #endif /* _NPC_Test1_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.