Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/ai/src/ai/ai_module.h @ 10137

Last change on this file since 10137 was 10135, checked in by tfahrni, 17 years ago
File size: 476 bytes
Line 
1
2#ifndef _AI_MODULE_H
3#define _AI_MODULE_H
4
5
6class NPC2;
7class AITeamMember;
8class WorldEntity;
9
10
11class AIModule {
12 public:
13   AIModule();
14   virtual ~AIModule() {}
15
16   virtual void process() {}
17   virtual void process(float dt) {}
18
19   void setDifficulty(int newDifficulty);
20   void setOwner(AITeamMember* newOwner);
21
22
23 protected:
24   int difficulty;
25        int myTeam;
26        int mySwarm;
27
28   AITeamMember* owner;
29   NPC2* myNPC;
30        WorldEntity* myWorldEnity;
31};
32
33#endif /* _AI_MODULE_H */
Note: See TracBrowser for help on using the repository browser.