Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 5, 2008, 9:55:00 PM (17 years ago)
Author:
rgrieder
Message:

forgot getSingleton in Orxonox.cc
There are now only three classes uses getSingleton: ConfigFileManager, Server and Client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/orxonox/Orxonox.h

    r1653 r1654  
    6262      void abortRequest();
    6363
    64       static Orxonox& getSingleton();
     64      static Orxonox& getInstance();
    6565
    6666      static void slomo(float factor) { Orxonox::setTimeFactor(factor); }
    67       static float getTimeFactor()    { return Orxonox::getSingleton().timefactor_; }
     67      static float getTimeFactor()    { return Orxonox::getInstance().timefactor_; }
    6868      static void loadGame(const std::string& name);
    69       static void exit()              { Orxonox::getSingleton().abortRequest(); }
     69      static void exit()              { Orxonox::getInstance().abortRequest(); }
    7070      static void setTimeFactor(float factor = 1.0);
    7171
Note: See TracChangeset for help on using the changeset viewer.