C# 클래스 FlatRedBall.Screens.Screen

상속: IInstructable
파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
IsPaused bool
mAccumulatedPausedTime double
mLastLoadedScene Scene
mLayer Layer
mTimeScreenWasCreated double

공개 메소드들

메소드 설명
Activating ( ) : void
Activity ( bool firstTimeCalled ) : void
AddToManagers ( ) : void
Destroy ( ) : void
Initialize ( bool addToManagers ) : void
MoveToScreen ( Type screenType ) : void
MoveToScreen ( string screenClass ) : void

Tells the screen that we are done and wish to move to the supplied screen

MoveToState ( int state ) : void
PauseAdjustedSecondsSince ( double time ) : double
RestartScreen ( bool reloadContent ) : void
Screen ( string contentManagerName ) : System
StartAsyncLoad ( Type type, System.Action afterLoaded = null ) : void
StartAsyncLoad ( string screenType, System.Action afterLoaded = null ) : void

보호된 메소드들

메소드 설명
HandleBackNavigation ( ) : void

Default implementation tells the screen manager to finish this screen's activity and navigate to the previous screen on the backstack.

Override this method if you want to have custom behavior when the back button is pressed.

OnActivate ( StateManager state ) : void
OnDeactivate ( StateManager state ) : void
PauseThisScreen ( ) : void
PreActivate ( ) : void
PreDeactivate ( ) : void
UnpauseThisScreen ( ) : void

비공개 메소드들

메소드 설명
OnDeactivating ( ) : void
PerformAsyncLoad ( ) : void

메소드 상세

Activating() 공개 메소드

public Activating ( ) : void
리턴 void

Activity() 공개 메소드

public Activity ( bool firstTimeCalled ) : void
firstTimeCalled bool
리턴 void

AddToManagers() 공개 메소드

public AddToManagers ( ) : void
리턴 void

Destroy() 공개 메소드

public Destroy ( ) : void
리턴 void

HandleBackNavigation() 보호된 메소드

Default implementation tells the screen manager to finish this screen's activity and navigate to the previous screen on the backstack.
Override this method if you want to have custom behavior when the back button is pressed.
protected HandleBackNavigation ( ) : void
리턴 void

Initialize() 공개 메소드

public Initialize ( bool addToManagers ) : void
addToManagers bool
리턴 void

MoveToScreen() 공개 메소드

public MoveToScreen ( Type screenType ) : void
screenType System.Type
리턴 void

MoveToScreen() 공개 메소드

Tells the screen that we are done and wish to move to the supplied screen
public MoveToScreen ( string screenClass ) : void
screenClass string
리턴 void

MoveToState() 공개 메소드

public MoveToState ( int state ) : void
state int This should be a valid enum value of the concrete screen type.
리턴 void

OnActivate() 보호된 메소드

protected OnActivate ( StateManager state ) : void
state StateManager
리턴 void

OnDeactivate() 보호된 메소드

protected OnDeactivate ( StateManager state ) : void
state StateManager
리턴 void

PauseAdjustedSecondsSince() 공개 메소드

public PauseAdjustedSecondsSince ( double time ) : double
time double
리턴 double

PauseThisScreen() 보호된 메소드

protected PauseThisScreen ( ) : void
리턴 void

PreActivate() 보호된 메소드

protected PreActivate ( ) : void
리턴 void

PreDeactivate() 보호된 메소드

protected PreDeactivate ( ) : void
리턴 void

RestartScreen() 공개 메소드

public RestartScreen ( bool reloadContent ) : void
reloadContent bool
리턴 void

Screen() 공개 메소드

public Screen ( string contentManagerName ) : System
contentManagerName string
리턴 System

StartAsyncLoad() 공개 메소드

public StartAsyncLoad ( Type type, System.Action afterLoaded = null ) : void
type System.Type
afterLoaded System.Action
리턴 void

StartAsyncLoad() 공개 메소드

public StartAsyncLoad ( string screenType, System.Action afterLoaded = null ) : void
screenType string
afterLoaded System.Action
리턴 void

UnpauseThisScreen() 보호된 메소드

protected UnpauseThisScreen ( ) : void
리턴 void

프로퍼티 상세

IsPaused 보호되어 있는 프로퍼티

protected bool IsPaused
리턴 bool

mAccumulatedPausedTime 보호되어 있는 프로퍼티

protected double mAccumulatedPausedTime
리턴 double

mLastLoadedScene 보호되어 있는 프로퍼티

protected Scene mLastLoadedScene
리턴 Scene

mLayer 보호되어 있는 프로퍼티

protected Layer mLayer
리턴 Layer

mTimeScreenWasCreated 보호되어 있는 프로퍼티

protected double mTimeScreenWasCreated
리턴 double