C# Class FarseerPhysics.Samples.FarseerPhysicsSamples

This is the main type for the samples
Inheritance: Microsoft.Xna.Framework.Game
Afficher le fichier Open project: tinco/Farseer-Physics Class Usage Examples

Méthodes publiques

Méthode Description
AddScreen ( GameScreen screen ) : void

Adds a new screen to the screen manager.

ExitGame ( ) : void
FarseerPhysicsSamples ( ) : System
RemoveScreen ( GameScreen screen ) : void

Removes a screen from the screen manager. You should normally use GameScreen.ExitScreen instead of calling this directly, so the screen can gradually transition off rather than just being instantly removed.

Méthodes protégées

Méthode Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Allows each screen to run logic.

Method Details

AddScreen() public méthode

Adds a new screen to the screen manager.
public AddScreen ( GameScreen screen ) : void
screen FarseerPhysics.Samples.ScreenSystem.GameScreen
Résultat void

Draw() protected méthode

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

ExitGame() public méthode

public ExitGame ( ) : void
Résultat void

FarseerPhysicsSamples() public méthode

public FarseerPhysicsSamples ( ) : System
Résultat System

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

RemoveScreen() public méthode

Removes a screen from the screen manager. You should normally use GameScreen.ExitScreen instead of calling this directly, so the screen can gradually transition off rather than just being instantly removed.
public RemoveScreen ( GameScreen screen ) : void
screen FarseerPhysics.Samples.ScreenSystem.GameScreen
Résultat void

UnloadContent() protected méthode

protected UnloadContent ( ) : void
Résultat void

Update() protected méthode

Allows each screen to run logic.
protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void