C# 클래스 Myre.StateManagement.ScreenManager

A class which manages screens.
파일 보기 프로젝트 열기: martindevans/Myre 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( Microsoft.Xna.Framework.GameTime gameTime ) : void

Draws visible screens.

Pop ( ) : Screen

Pops this instance.

PrepareDraw ( ) : void

Prepares visible screens for drawing.

Push ( Screen screen ) : void

Pushes the specified screen.

ScreenManager ( ) : System

Initializes a new instance of the ScreenManager class.

Update ( Microsoft.Xna.Framework.GameTime gameTime ) : void

Updates visible screens.

비공개 메소드들

메소드 설명
UpdateTransitionProgress ( Screen screen, Microsoft.Xna.Framework.GameTime gameTime ) : void

메소드 상세

Draw() 공개 메소드

Draws visible screens.
public Draw ( Microsoft.Xna.Framework.GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The game time.
리턴 void

Pop() 공개 메소드

Pops this instance.
public Pop ( ) : Screen
리턴 Screen

PrepareDraw() 공개 메소드

Prepares visible screens for drawing.
public PrepareDraw ( ) : void
리턴 void

Push() 공개 메소드

Pushes the specified screen.
public Push ( Screen screen ) : void
screen Screen The screen.
리턴 void

ScreenManager() 공개 메소드

Initializes a new instance of the ScreenManager class.
public ScreenManager ( ) : System
리턴 System

Update() 공개 메소드

Updates visible screens.
public Update ( Microsoft.Xna.Framework.GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The game time.
리턴 void