Last change
on this file since 5027 was
4984,
checked in by bensch, 19 years ago
|
orxonox/trunk: playing of different Buffer on one Sources works, but without overlapping.
so what we do now is
stop(oldSound)
load(newSound)
play(newSound)
|
File size:
294 bytes
|
Line | |
---|
1 | |
---|
2 | #ifndef _NPC_H |
---|
3 | #define _NPC_H |
---|
4 | |
---|
5 | #include "world_entity.h" |
---|
6 | |
---|
7 | class AI; |
---|
8 | |
---|
9 | class NPC : public WorldEntity { |
---|
10 | |
---|
11 | public: |
---|
12 | NPC (); |
---|
13 | ~NPC (); |
---|
14 | |
---|
15 | |
---|
16 | void addAI(AI* ai); |
---|
17 | |
---|
18 | void tick(float dt); |
---|
19 | int hit(); |
---|
20 | void die(); |
---|
21 | |
---|
22 | private: |
---|
23 | /* position of the non player space craft */ |
---|
24 | ; |
---|
25 | |
---|
26 | }; |
---|
27 | |
---|
28 | #endif /* _NPC_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.