Ctrl+K

IFrameInfoProvider

Declaration

public interface Strawberry.IFrameInfoProvider

Provides information about the FPS and other frame related information

Properties

GameSpeed abstract

Gets the speed on based on which the game is running

int GameSpeed { get set }

FPS abstract

Gets the number of Frames Per Second

int FPS { get }

RealGameSpeed abstract

Gets the real number of game updates per second.

int RealGameSpeed { get }

MinFPS abstract

Gets the minimum number of Frames Per Second during game.

int MinFPS { get }

MaxFPS abstract

Gets the maximum number of Frames Per Second during game.

int MaxFPS { get }

LastTime abstract

Gets the last time in which game scene has been rendered.

float LastTime { get }

DeltaTime abstract

Gets the time difference between two frames

float DeltaTime { get }

FixedDeltaTime abstract

Gets the fixed time difference between two frames. This should always be based on GameSpeed

float FixedDeltaTime { get }

ElapsedTime abstract

Gets the time elapsed since the game started.

TimeSpan ElapsedTime { get }

ShouldFixedUpdate abstract

Gets a value indicating whether the game should run a fixed update.

bool ShouldFixedUpdate { get }

Methods

Initialize abstract

void Initialize()

BeginUpdate abstract

void BeginUpdate()

FixedUpdate abstract

void FixedUpdate()

EndUpdate abstract

void EndUpdate()