C# 클래스 Myre.Entities.Services.TimeService

Manages wallclock time passed and counts the number of frames passed
상속: Service
파일 보기 프로젝트 열기: martindevans/Myre

Private Properties

프로퍼티 타입 설명
ObjectInvariant void

공개 메소드들

메소드 설명
ConvertFromTick ( uint tick ) : double

convert the given tick into the associated time value

ConvertToTick ( double time ) : uint

Convert the given time into the associated tick value

Reset ( ) : void
SetTime ( double time ) : void
TimeService ( Microsoft.Xna.Framework.Game game ) : System
Update ( float elapsedTime ) : void

비공개 메소드들

메소드 설명
ObjectInvariant ( ) : void

메소드 상세

ConvertFromTick() 공개 정적인 메소드

convert the given tick into the associated time value
public static ConvertFromTick ( uint tick ) : double
tick uint
리턴 double

ConvertToTick() 공개 정적인 메소드

Convert the given time into the associated tick value
public static ConvertToTick ( double time ) : uint
time double
리턴 uint

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SetTime() 공개 메소드

public SetTime ( double time ) : void
time double
리턴 void

TimeService() 공개 메소드

public TimeService ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
리턴 System

Update() 공개 메소드

public Update ( float elapsedTime ) : void
elapsedTime float
리턴 void