source:
orxonox.OLD/branches/ai/src/ai/ai_engine.h
@
10040
Last change on this file since 10040 was 10040, checked in by tfahrni, 17 years ago | |
---|---|
File size: 381 bytes |
Rev | Line | |
---|---|---|
[10029] | 1 | |
2 | #ifndef _AI_ENGINE_H | |
3 | #define _AI_ENGINE_H | |
4 | ||
5 | ||
6 | #include "ai_team.h" | |
7 | ||
8 | ||
9 | class AIEngine{ | |
10 | public: | |
11 | ~AIEngine(); | |
[10040] | 12 | |
13 | static AIEngine* getInstance() { if( singletonRef == NULL) singletonRef = new AIEngine(); return singletonRef; } | |
14 | ||
15 | void process(); | |
16 | private: | |
17 | AIEngine(); | |
18 | ||
[10029] | 19 | private: |
20 | std::vector<AITeam*> teams; | |
[10040] | 21 | |
22 | static AIEngine* singletonRef; | |
23 | ||
[10029] | 24 | }; |
25 | ||
26 | #endif /* _AI_ENGINE_H */ |
Note: See TracBrowser
for help on using the repository browser.