18 #ifndef ZENI_TIMER_HXX
19 #define ZENI_TIMER_HXX
41 return m_ticks - time.m_ticks;
53 return m_ticks < rhs.m_ticks;
Time::Tick_Type get_ticks_per_second()
Get the number of ticks per second.
Tick_Type get_ticks_passed() const
Get the number of clock ticks passed since this Time.
Time::Tick_Type get_ticks()
Get the number of ticks passed since instantiation.
Tick_Type get_ticks_since(const Time &time) const
Get the number of clock ticks passed between 'time' and this Time.
Timer & get_Timer()
Get access to the singleton.
Time get_time()
Get the current Time.
bool operator<(const Time &rhs) const
float get_seconds_passed() const
Get the number of seconds passed since this Time.
float get_seconds_since(const Time &time) const
Get the number of seconds passed between 'time' and this Time.
void update()
Update to current Time.
Time & operator=(const Tick_Type &ticks)
float get_seconds()
Get the number of seconds passed since instantiation.