Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
TimedTask Class Reference

Public Member Functions

 TimedTask (std::chrono::duration< float > intervalSecs)
 
std::chrono::duration< float > intervalSecs () const
 
void setIntervalSecs (std::chrono::duration< float > intervalSecs)
 
virtual bool isDue () const final
 
virtual void nudge () final
 
virtual void exec ()
 

Protected Attributes

std::chrono::duration< float > m_intervalSecs
 
std::chrono::high_resolution_clock::time_point m_lastExecution
 

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