Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/ai/src/ai/ai_engine.h @ 10045

Last change on this file since 10045 was 10045, checked in by tfahrni, 17 years ago
File size: 436 bytes
Line 
1
2#ifndef _AI_ENGINE_H
3#define _AI_ENGINE_H
4
5
6#include "ai_team.h"
7
8
9class AIEngine{
10 public:
11   ~AIEngine();
12
13   static AIEngine* getInstance() { if( singletonRef == NULL) singletonRef = new AIEngine(); return singletonRef; }
14
15   void tick(float dtS);
16   AITeam* getTeam(int);
17        int newTeam();
18        float dtS;
19 private:
20        AIEngine();
21
22 private:
23   std::vector<AITeam*> teams;
24
25   static AIEngine* singletonRef;
26
27};
28
29#endif /* _AI_ENGINE_H */
Note: See TracBrowser for help on using the repository browser.