Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
TimerUnit Class Reference

#include <timer.h>

Public Member Functions

void SetToZero ()
 
void SetFromTimer ()
 
void AddDifference (TimerUnit t0, TimerUnit t1)
 
void Subtract (TimerUnit t)
 
std::string ToString () const
 
double ToSeconds () const
 

Private Attributes

double m_seconds
 

Member Function Documentation

◆ AddDifference()

void TimerUnit::AddDifference ( TimerUnit  t0,
TimerUnit  t1 
)
inline

◆ SetFromTimer()

void TimerUnit::SetFromTimer ( )
inline

◆ SetToZero()

void TimerUnit::SetToZero ( )
inline

◆ Subtract()

void TimerUnit::Subtract ( TimerUnit  t)
inline

◆ ToSeconds()

double TimerUnit::ToSeconds ( ) const
inline

◆ ToString()

std::string TimerUnit::ToString ( ) const
inline

Member Data Documentation

◆ m_seconds

double TimerUnit::m_seconds
private

The documentation for this class was generated from the following file: