Slippers Engine
 
Loading...
Searching...
No Matches
TimeManager Class Reference

Responsible for Tracking Time and Freeze Frame mode. More...

#include <TimeManager.h>

Collaboration diagram for TimeManager:
Collaboration graph

Static Public Member Functions

static float GetTime ()
 Returns Current Time.
 
static float GetFrameTime ()
 Returns Time Passed since Last Frame.
 

Detailed Description

Responsible for Tracking Time and Freeze Frame mode.

This system holds the current time as well as the change in time between frames. It also holds the ability to freeze the game loop.

Member Function Documentation

◆ GetFrameTime()

static float TimeManager::GetFrameTime ( )
static

Returns Time Passed since Last Frame.

Returns
float

◆ GetTime()

static float TimeManager::GetTime ( )
static

Returns Current Time.

Returns
float