Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 25, 2009, 4:34:40 PM (15 years ago)
Author:
rgrieder
Message:

Exported TimeFactorListener to separate file in the tools folder.

File:
1 edited

Legend:

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

    r2817 r2843  
    6868        ConsoleCommand*       ccPause_;
    6969    };
    70 
    71     class _OrxonoxExport TimeFactorListener : virtual public OrxonoxClass
    72     {
    73         friend class GSRoot;
    74 
    75         public:
    76             TimeFactorListener();
    77             virtual ~TimeFactorListener() {}
    78 
    79         protected:
    80             virtual void changedTimeFactor(float factor_new, float factor_old) {}
    81             inline float getTimeFactor() const
    82                 { return TimeFactorListener::timefactor_s; }
    83 
    84         private:
    85             static float timefactor_s;
    86     };
    8770}
    8871
Note: See TracChangeset for help on using the changeset viewer.