C# 클래스 PGCGame.Screens.LoadingScreen

A general-purpose async task loading screen.
상속: PGCGame.CoreTypes.BaseScreen
파일 보기 프로젝트 열기: GreatMindsRobotics/PGCGame 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MinimumTime System.TimeSpan
UserCallback PGCGame.CoreTypes.Delegates.AsyncHandlerMethod
UserCallbackStartsTask bool

공개 메소드들

메소드 설명
FinishTask ( ) : void

Mark the task as finished.

InitScreen ( ScreenType screenName ) : void
LoadingScreen ( SpriteBatch sb, Color bgColor ) : System
Reset ( ) : void

Reset all fields and events.

Update ( GameTime game ) : void
loadingText_TextChanged ( object sender, EventArgs e ) : void

비공개 메소드들

메소드 설명
AsyncCallBackMethod ( IAsyncResult result ) : void
RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

메소드 상세

FinishTask() 공개 메소드

Mark the task as finished.
public FinishTask ( ) : void
리턴 void

InitScreen() 공개 메소드

public InitScreen ( ScreenType screenName ) : void
screenName ScreenType
리턴 void

LoadingScreen() 공개 메소드

public LoadingScreen ( SpriteBatch sb, Color bgColor ) : System
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
bgColor Color
리턴 System

Reset() 공개 메소드

Reset all fields and events.
public Reset ( ) : void
리턴 void

Update() 공개 메소드

public Update ( GameTime game ) : void
game GameTime
리턴 void

loadingText_TextChanged() 공개 메소드

public loadingText_TextChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

프로퍼티 상세

MinimumTime 공개적으로 프로퍼티

public TimeSpan,System MinimumTime
리턴 System.TimeSpan

UserCallback 공개적으로 프로퍼티

The callback that the user provides to run after the asynchronous operation.
public PGCGame.CoreTypes.Delegates.AsyncHandlerMethod UserCallback
리턴 PGCGame.CoreTypes.Delegates.AsyncHandlerMethod

UserCallbackStartsTask 공개적으로 프로퍼티

A boolean indicating whether the user callback starts asynchronous work.
public bool UserCallbackStartsTask
리턴 bool