Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 9, 2008, 4:44:36 PM (17 years ago)
Author:
landauf
Message:

merged core branch to trunk

Location:
code/trunk/src/orxonox/tools
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/tools/BillboardSet.h

    r790 r871  
    77
    88#include "../OrxonoxPrereqs.h"
    9 
    10 #include "../core/CoreIncludes.h"
    119#include "util/Math.h"
    1210
  • code/trunk/src/orxonox/tools/Timer.h

    r790 r871  
    5959
    6060#include <OgreFrameListener.h>
    61 
    6261#include "../OrxonoxPrereqs.h"
    63 
    64 #include "../core/CoreIncludes.h"
    6562
    6663namespace orxonox
     
    7269
    7370        public:
    74             /** @brief Constructor: Sets the default-values. */
    75             TimerBase()
    76             {
    77                 RegisterRootObject(TimerBase);
    78 
    79                 this->interval_ = 0;
    80                 this->bLoop_ = false;
    81                 this->bActive_ = false;
    82 
    83                 this->time_ = 0;
    84             }
     71            TimerBase();
    8572
    8673            virtual void run() const = 0;
     
    9481            /** @brief Unpauses the Timer - continues with the given state. */
    9582            inline void unpauseTimer() { this->bActive_ = true; }
    96             /** @returns true if the Timer is active (= not stoped, not paused). */
     83            /** @brief Returns true if the Timer is active (= not stoped, not paused). @return True = Time is active */
    9784            inline bool isActive() const { return this->bActive_; }
    9885
     
    10491            float time_;        //!< Internal variable, counting the time till the next function-call
    10592    };
    106     ExportAbstractClass(TimerBase, Orxonox);
    10793
    10894    //! The Timer is a callback-object, calling a given function after a given time-interval.
     
    158144            T* object_;
    159145    };
    160     ExportAbstractClass(Timer<BaseObject>, Orxonox);
    161146
    162147    //! The TimerFrameListener manages all Timers in the game.
Note: See TracChangeset for help on using the changeset viewer.