source:
orxonox.OLD/branches/ai/src/ai/ai_module.h
@
10112
Last change on this file since 10112 was 10112, checked in by tfahrni, 17 years ago | |
---|---|
File size: 415 bytes |
Rev | Line | |
---|---|---|
[10029] | 1 | |
2 | #ifndef _AI_MODULE_H | |
3 | #define _AI_MODULE_H | |
4 | ||
[10112] | 5 | |
6 | class NPC2; | |
[10045] | 7 | class AITeamMember; |
[10112] | 8 | class WorldEntity; |
[10029] | 9 | |
[10112] | 10 | |
[10029] | 11 | class AIModule{ |
12 | public: | |
13 | AIModule(); | |
[10061] | 14 | virtual ~AIModule() {} |
[10062] | 15 | virtual void process() {} |
[10112] | 16 | virtual void process(float dt) {} |
[10045] | 17 | void setDifficulty(int newDifficulty); |
18 | void setOwner(AITeamMember* newOwner); | |
[10061] | 19 | protected: |
[10029] | 20 | int difficulty; |
[10045] | 21 | AITeamMember* owner; |
[10112] | 22 | NPC2* myNPC; |
[10029] | 23 | }; |
24 | ||
25 | #endif /* _AI_MODULE_H */ |
Note: See TracBrowser
for help on using the repository browser.