C# 클래스 ParticleEngine.Gametime.GameTimeManager

파일 보기 프로젝트 열기: Wotuu/RTS_XNA_v2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
targetFPS int

Private Properties

프로퍼티 타입 설명
GameTimeManager System

공개 메소드들

메소드 설명
DrawMSLeftThisFrame ( ) : double

Gets the amount of MS that is left to draw this frame.

GetInstance ( ) : GameTimeManager
OnStartDraw ( ) : void

Updates all the variables in the manager. Should only be called at the very beginning of the Draw loop!

OnStartUpdate ( ) : void

Updates all the variables in the manager. Should only be called at the very beginning of the Update loop!

UpdateMSLeftThisFrame ( ) : double

Gets the amount of MS that is left to update this frame.

비공개 메소드들

메소드 설명
GameTimeManager ( ) : System

메소드 상세

DrawMSLeftThisFrame() 공개 메소드

Gets the amount of MS that is left to draw this frame.
public DrawMSLeftThisFrame ( ) : double
리턴 double

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : GameTimeManager
리턴 GameTimeManager

OnStartDraw() 공개 메소드

Updates all the variables in the manager. Should only be called at the very beginning of the Draw loop!
public OnStartDraw ( ) : void
리턴 void

OnStartUpdate() 공개 메소드

Updates all the variables in the manager. Should only be called at the very beginning of the Update loop!
public OnStartUpdate ( ) : void
리턴 void

UpdateMSLeftThisFrame() 공개 메소드

Gets the amount of MS that is left to update this frame.
public UpdateMSLeftThisFrame ( ) : double
리턴 double

프로퍼티 상세

targetFPS 공개적으로 프로퍼티

public int targetFPS
리턴 int