- Timestamp:
- Jan 4, 2016, 6:19:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationHS15/src/modules/hover/TimeHUD.h
r11026 r11041 33 33 #define _TimeHUD_H__ 34 34 35 #include " hover/HoverPrereqs.h"35 #include "HoverPrereqs.h" 36 36 37 37 #include "tools/interfaces/Tickable.h" … … 46 46 47 47 virtual void tick(float dt); 48 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);49 48 virtual void changedOwner(); 50 49 51 virtual void setRunning(bool running); 52 virtual bool isRunning(); 53 virtual void reset(); 50 /// sets if the clock is running 51 inline void setRunning(bool running) 52 { this->running_ = running; } 53 /// returns if the clock is running 54 inline bool isRunning() const 55 { return this->running_; } 56 57 void reset(); 54 58 55 59 private: 56 Hover* hoverGame ;57 float _time;58 bool _running;60 Hover* hoverGame_; 61 float time_; 62 bool running_; 59 63 }; 60 64 }
Note: See TracChangeset
for help on using the changeset viewer.