Nebula
Loading...
Searching...
No Matches
Game::TimeSource Struct Reference

#include <timemanager.h>

Detailed Description

A generic time source POD struct which is created and deleted by the TimeManager.

You can get TimeSources by calling the Game::TimeManager::GetTimeSource function.

Public Attributes

Timing::Time const frameTime
 delta time between this frame and last frame
 
Timing::Time const time
 total time this timesource has run for
 
Timing::Tick const ticks
 number of ticks that this time source has run for
 
int pauseCounter
 increment this to pause time, decrement to continue running
 
float timeFactor
 time factor for this time source
 

Member Data Documentation

◆ frameTime

Timing::Time const Game::TimeSource::frameTime

delta time between this frame and last frame

◆ pauseCounter

int Game::TimeSource::pauseCounter

increment this to pause time, decrement to continue running

◆ ticks

Timing::Tick const Game::TimeSource::ticks

number of ticks that this time source has run for

◆ time

Timing::Time const Game::TimeSource::time

total time this timesource has run for

◆ timeFactor

float Game::TimeSource::timeFactor

time factor for this time source


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