source:
orxonox.OLD/orxonox/trunk/src/world_entities/npc.h
@
4984
Last change on this file since 4984 was 4984, checked in by bensch, 19 years ago | |
---|---|
File size: 294 bytes |
Rev | Line | |
---|---|---|
[1853] | 1 | |
[3224] | 2 | #ifndef _NPC_H |
3 | #define _NPC_H | |
[1853] | 4 | |
[2036] | 5 | #include "world_entity.h" |
[1853] | 6 | |
[2036] | 7 | class AI; |
[1904] | 8 | |
[2036] | 9 | class NPC : public WorldEntity { |
[1853] | 10 | |
11 | public: | |
12 | NPC (); | |
13 | ~NPC (); | |
14 | ||
[1899] | 15 | |
[4977] | 16 | void addAI(AI* ai); |
[1899] | 17 | |
[4984] | 18 | void tick(float dt); |
[4746] | 19 | int hit(); |
20 | void die(); | |
[1858] | 21 | |
22 | private: | |
23 | /* position of the non player space craft */ | |
24 | ; | |
25 | ||
[1853] | 26 | }; |
27 | ||
[3224] | 28 | #endif /* _NPC_H */ |
Note: See TracBrowser
for help on using the repository browser.