Time.
More...
#include <jmGlobal.h>
Time.
The Time class stores required time parameters.
◆ UpdatePassedTimeMS()
double UpdatePassedTimeMS |
( |
| ) |
|
|
inline |
Updates and returns the passed time in milliseconds.
This function must called at the begining of logic update.
- See also
- GetPassedNetTimeMS
◆ AddSuspendedTimeMS()
void AddSuspendedTimeMS |
( |
int |
_suspendedTimeMS | ) |
|
|
inline |
Add suspended time in milliseconds.
Suspended time is time when application is suspended. This function is called from SceneManager::Update and should not be called manually.
◆ GetPassedNetTimeMS()
int GetPassedNetTimeMS |
( |
| ) |
|
|
inline |
Returns passed net time in milliseconds.
This function returns the net passed time which is the full passed time with deducted suspended time.
- See also
- UpdatePassedTimeMS()
◆ SetLogicTimeMS()
void SetLogicTimeMS |
( |
float |
_logicTimeStepMS | ) |
|
|
inline |
Set the logic time step in milliseconds.
This function must called at the begining of logic update. Depending of the engine this time step can be the frame time or fixed logic time step.
- See also
- GetLogicTimeMS
◆ GetLogicTimeMS()
The documentation for this class was generated from the following file:
- C:/Development/JugiMapProject/JugiMapFRM/framework_c++/jugimap/jmGlobal.h