source:
orxonox.OLD/branches/scriptimprovements/src/world_entities/npcs/npc_test1.h
@
10586
| Last change on this file since 10586 was 9869, checked in by bensch, 19 years ago | |
|---|---|
| File size: 338 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 | ObjectListDeclaration(NPCTest1); |
| 11 | public: |
| 12 | NPCTest1 (); |
| 13 | virtual ~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.










