C# Class PrinceGame.LoadingScreen

Inheritance: GameScreen
Datei anzeigen Open project: salvadorc17/Prince-Monogame Class Usage Examples

Public Methods

Method 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

Method 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 method

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

Load() public static method

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

Update() public method

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