Last change
on this file since 10041 was
10041,
checked in by tfahrni, 17 years ago
|
Tried to make some progress with the AI..
|
File size:
418 bytes
|
Line | |
---|
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(); |
---|
12 | |
---|
13 | static AIEngine* getInstance() { if( singletonRef == NULL) singletonRef = new AIEngine(); return singletonRef; } |
---|
14 | |
---|
15 | void process(); |
---|
16 | AITeam* getTeam(int); |
---|
17 | int newTeam(); |
---|
18 | private: |
---|
19 | AIEngine(); |
---|
20 | |
---|
21 | private: |
---|
22 | std::vector<AITeam*> teams; |
---|
23 | |
---|
24 | static AIEngine* singletonRef; |
---|
25 | |
---|
26 | }; |
---|
27 | |
---|
28 | #endif /* _AI_ENGINE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.