Changeset 10040 in orxonox.OLD for branches/ai/src/ai/ai_engine.h
- Timestamp:
- Dec 11, 2006, 8:30:22 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ai/src/ai/ai_engine.h
r10029 r10040 9 9 class AIEngine{ 10 10 public: 11 AIEngine();12 11 ~AIEngine(); 12 13 static AIEngine* getInstance() { if( singletonRef == NULL) singletonRef = new AIEngine(); return singletonRef; } 14 15 void process(); 16 private: 17 AIEngine(); 18 13 19 private: 14 20 std::vector<AITeam*> teams; 21 22 static AIEngine* singletonRef; 23 15 24 }; 16 25
Note: See TracChangeset
for help on using the changeset viewer.