C# 클래스 RecordRobot.Clock.GameClock

GameClock is used to statically keep track of the game time. It can be called from anywhere without any references needed.
파일 보기 프로젝트 열기: scastle/EECS290_Project1

공개 메소드들

메소드 설명
IsPaused ( ) : bool

Determines whether this instance is paused.

Pause ( ) : void

Pauses this instance.

Reset ( ) : void

Resets this instance.

Unpause ( ) : void

Unpauses this instance.

Update ( ) : void

Updates this instance. This needs to be called every game cycle.

메소드 상세

IsPaused() 공개 정적인 메소드

Determines whether this instance is paused.
public static IsPaused ( ) : bool
리턴 bool

Pause() 공개 정적인 메소드

Pauses this instance.
public static Pause ( ) : void
리턴 void

Reset() 공개 정적인 메소드

Resets this instance.
public static Reset ( ) : void
리턴 void

Unpause() 공개 정적인 메소드

Unpauses this instance.
public static Unpause ( ) : void
리턴 void

Update() 공개 정적인 메소드

Updates this instance. This needs to be called every game cycle.
public static Update ( ) : void
리턴 void