Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10040 in orxonox.OLD for branches/ai/src/ai/ai_engine.h


Ignore:
Timestamp:
Dec 11, 2006, 8:30:22 PM (17 years ago)
Author:
tfahrni
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ai/src/ai/ai_engine.h

    r10029 r10040  
    99class AIEngine{
    1010 public:
    11    AIEngine();
    1211   ~AIEngine();
     12
     13   static AIEngine* getInstance() { if( singletonRef == NULL) singletonRef = new AIEngine(); return singletonRef; }
     14
     15   void process();
     16  private:
     17    AIEngine();
     18
    1319 private:
    1420   std::vector<AITeam*> teams;
     21
     22   static AIEngine* singletonRef;
     23
    1524};
    1625
Note: See TracChangeset for help on using the changeset viewer.