C# Class UHSampleGame.Screens.LoadScreen

Inheritance: UHSampleGame.ScreenManagement.Screen
Afficher le fichier Open project: holtkampw/UH-Sample-XNA-Project

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void
HandleInput ( ) : void
LoadContent ( ) : void
LoadScreen ( LevelType levelType, PlayerSetup playerTypes ) : System
Reload ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
BackgroundWorkerThread ( ) : void

Worker thread draws the loading animation and updates the network session while the load is taking place.

DrawLoadAnimation ( GameTime gameTime ) : void

Calls directly into our Draw method from the background worker thread, so as to update the load animation in parallel with the actual loading.

GetGameTime ( long &lastTime ) : GameTime

Works out how long it has been since the last background thread update.

Method Details

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

HandleInput() public méthode

public HandleInput ( ) : void
Résultat void

LoadContent() public méthode

public LoadContent ( ) : void
Résultat void

LoadScreen() public méthode

public LoadScreen ( LevelType levelType, PlayerSetup playerTypes ) : System
levelType LevelType
playerTypes UHSampleGame.Players.PlayerSetup
Résultat System

Reload() public méthode

public Reload ( ) : void
Résultat void

UnloadContent() public méthode

public UnloadContent ( ) : void
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void