Nui Engine
A game engine framework
Loading...
Searching...
No Matches
Nui::Timer Class Reference

Timer class. More...

#include <Timer.h>

Public Member Functions

void Start ()
 Start timer.
 
void Stop ()
 Stop timer.
 
void Reset ()
 Reset timer.
 
bool IsRunning () const
 Check if timer is running.
 
Time GetElapsedSeconds () const
 Get elapsed time in seconds.
 
Time GetElapsedMilliseconds () const
 Get elapsed time in milliseconds.
 

Detailed Description

Timer class.

Member Function Documentation

◆ GetElapsedMilliseconds()

Time Nui::Timer::GetElapsedMilliseconds ( ) const
inline

Get elapsed time in milliseconds.

Returns
Elapsed time in milliseconds
See also
GetElapsedSeconds

◆ GetElapsedSeconds()

Time Nui::Timer::GetElapsedSeconds ( ) const
inline

Get elapsed time in seconds.

Returns
Elapsed time in seconds
See also
GetElapsedMilliseconds

◆ IsRunning()

bool Nui::Timer::IsRunning ( ) const
inline

Check if timer is running.

Returns
True if timer is running

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