Public Member Functions | Private Attributes | List of all members
nom::AnimationTimer Class Reference

Public Member Functions

void start (void)
 
void stop (void)
 
void restart (void)
 Alias for start.
 
uint32 ticks (void) const
 
bool started (void) const
 
const std::string ticksAsString (void) const
 
uint32 seconds (float milliseconds) const
 Helper method; conversion from milliseconds to seconds.
 
uint32 framerate (void) const
 
void setFrameRate (uint32 rate)
 

Private Attributes

uint32 elapsed_ticks
 Milliseconds since timer start.
 
bool timer_started
 Tracks whether we are started or not.
 
uint32 frame_rate
 Convenience container.
 

Detailed Description

Definition at line 41 of file AnimationTimer.hpp.


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