C# Class PrinceGame.LoadingScreen

Inheritance: GameScreen
Afficher le fichier Open project: salvadorc17/Prince-Monogame Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void

Draws the loading screen.

Load ( ScreenManager screenManager, bool loadingIsSlow, System controllingPlayer ) : void

Activates the loading screen.

Update ( GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void

Updates the loading screen.

Private Methods

Méthode Description
LoadingScreen ( ScreenManager screenManager, bool loadingIsSlow, GameScreen screensToLoad ) : System

The constructor is private: loading screens should be activated via the static Load method instead.

Method Details

Draw() public méthode

Draws the loading screen.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Load() public static méthode

Activates the loading screen.
public static Load ( ScreenManager screenManager, bool loadingIsSlow, System controllingPlayer ) : void
screenManager ScreenManager
loadingIsSlow bool
controllingPlayer System
Résultat void

Update() public méthode

Updates the loading screen.
public Update ( GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void
gameTime Microsoft.Xna.Framework.GameTime
otherScreenHasFocus bool
coveredByOtherScreen bool
Résultat void