Wraith  0.1.5
Basic 3D game engine in C++
FreezeTime Class Reference
Collaboration diagram for FreezeTime:
Collaboration graph

Public Member Functions

 FreezeTime (const FreezeTime &)=delete
 
FreezeTimeoperator= (const FreezeTime &)=delete
 
float ComputerGameTime (float prev_time)
 

Private Member Functions

bool HackedKeyRelease (AZUL_KEY k)
 
void TestForFreezeKeys ()
 

Private Attributes

float totalFrozenTime
 
bool freeze_mode_active
 

Static Private Attributes

static const AZUL_KEY FREEZE_KEY = AZUL_KEY::KEY_F10
 
static const AZUL_KEY SINGLE_FRAME_KEY = AZUL_KEY::KEY_F9
 
static const float DEAD_TIME_THRESHOLD = 0.1f
 
static const float DEFAULT_FRAME_TIME = 1.0f / 60
 

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