Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 17, 2010, 8:25:21 PM (14 years ago)
Author:
landauf
Message:

removed network as dependency of tools. these libraries can build in parallel again now.
moved network synchronization of setTimeFactor from TimeFactorListener to GSRoot (GSRoot inherits from TimeFactorListener now)

File:
1 edited

Legend:

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

    r6417 r7172  
    3232#include "OrxonoxPrereqs.h"
    3333#include "core/GameState.h"
     34#include "tools/interfaces/TimeFactorListener.h"
    3435
    3536namespace orxonox
    3637{
    37     class _OrxonoxExport GSRoot : public GameState
     38    class _OrxonoxExport GSRoot : public GameState, public TimeFactorListener
    3839    {
    3940    public:
     
    5152        void setTimeFactor(float factor);
    5253        void pause();
    53         float getTimeFactor();
     54
     55    protected:
     56        virtual void changedTimeFactor(float factor_new, float factor_old);
    5457
    5558    private:
Note: See TracChangeset for help on using the changeset viewer.