C# Class Myre.StateManagement.ScreenManager

A class which manages screens.
Afficher le fichier Open project: martindevans/Myre Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
UpdateTransitionProgress ( Screen screen, Microsoft.Xna.Framework.GameTime gameTime ) : void

Method Details

Draw() public méthode

Draws visible screens.
public Draw ( Microsoft.Xna.Framework.GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The game time.
Résultat void

Pop() public méthode

Pops this instance.
public Pop ( ) : Screen
Résultat Screen

PrepareDraw() public méthode

Prepares visible screens for drawing.
public PrepareDraw ( ) : void
Résultat void

Push() public méthode

Pushes the specified screen.
public Push ( Screen screen ) : void
screen Screen The screen.
Résultat void

ScreenManager() public méthode

Initializes a new instance of the ScreenManager class.
public ScreenManager ( ) : System
Résultat System

Update() public méthode

Updates visible screens.
public Update ( Microsoft.Xna.Framework.GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The game time.
Résultat void