Changeset 957 for code/branches/core2/src/orxonox/tools/Timer.h
- Timestamp:
 - Mar 30, 2008, 5:38:03 AM (18 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          code/branches/core2/src/orxonox/tools/Timer.h (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
code/branches/core2/src/orxonox/tools/Timer.h
r871 r957 83 83 /** @brief Returns true if the Timer is active (= not stoped, not paused). @return True = Time is active */ 84 84 inline bool isActive() const { return this->bActive_; } 85 /** @brief Gives the Timer some extra time. @param time The amount of extra time in seconds */ 86 inline void addTime(float time) { this->time_ += time; } 87 /** @brief Decreases the remaining time of the Timer. @param time The amount of time to remove */ 88 inline void removeTime(float time) { this->time_ -= time; } 85 89 86 90 protected:  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






