C# Class FarseerPhysics.Samples.ScreenSystem.DescriptionBoxScreen

A popup message box screen, used to display "are you sure?" confirmation messages.
Inheritance: GameScreen
Afficher le fichier Open project: tinco/Farseer-Physics

Méthodes publiques

Méthode Description
DescriptionBoxScreen ( string message ) : System
Draw ( GameTime gameTime ) : void

Draws the message box.

HandleInput ( InputHelper input, GameTime gameTime ) : void

Responds to user input, accepting or cancelling the message box.

LoadContent ( ) : void

Loads graphics content for this screen. This uses the shared ContentManager provided by the Game class, so the content will remain loaded forever. Whenever a subsequent MessageBoxScreen tries to load this same content, it will just get back another reference to the already loaded data.

Method Details

DescriptionBoxScreen() public méthode

public DescriptionBoxScreen ( string message ) : System
message string
Résultat System

Draw() public méthode

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

HandleInput() public méthode

Responds to user input, accepting or cancelling the message box.
public HandleInput ( InputHelper input, GameTime gameTime ) : void
input InputHelper
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

LoadContent() public méthode

Loads graphics content for this screen. This uses the shared ContentManager provided by the Game class, so the content will remain loaded forever. Whenever a subsequent MessageBoxScreen tries to load this same content, it will just get back another reference to the already loaded data.
public LoadContent ( ) : void
Résultat void