Physics-Simulator
v1.4.0-beta.2
|
This class will hold functions related to time. More...
#include "source/tick.h"
Public Member Functions | |
clsTick () | |
void | startTimer (void) |
double | getTimeDifference (void) |
void | startHolding (void) |
double | stopHolding (void) |
This class will hold functions related to time.
clsTick::clsTick | ( | ) |
Default constructor, just sets lngTimerStart to now
double clsTick::getTimeDifference | ( | void | ) |
Returns the difference (in seconds) from now to when lngTimerStart
void clsTick::startHolding | ( | void | ) |
Sets lngTimerStart to now.
void clsTick::startTimer | ( | void | ) |
Sets lngTimerStart to now.
double clsTick::stopHolding | ( | void | ) |
Returns the difference (in seconds) from now to when lngHoldingStart