|
Last change
on this file since 6806 was
6054,
checked in by bensch, 20 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:
296 bytes
|
| Line | |
|---|
| 1 | |
|---|
| 2 | #ifndef _NPC_Test1_H |
|---|
| 3 | #define _NPC_Test1_H |
|---|
| 4 | |
|---|
| 5 | #include "npc.h" |
|---|
| 6 | |
|---|
| 7 | class AI; |
|---|
| 8 | |
|---|
| 9 | class NPCTest1 : public NPC { |
|---|
| 10 | |
|---|
| 11 | public: |
|---|
| 12 | NPCTest1 (); |
|---|
| 13 | ~NPCTest1 (); |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | void addAI(AI* ai); |
|---|
| 17 | |
|---|
| 18 | virtual void tick(float dt); |
|---|
| 19 | |
|---|
| 20 | private: |
|---|
| 21 | Vector randomRotAxis; |
|---|
| 22 | |
|---|
| 23 | WorldEntity* collider; |
|---|
| 24 | |
|---|
| 25 | }; |
|---|
| 26 | |
|---|
| 27 | #endif /* _NPC_Test1_H */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.