C# Class FarseerPhysics.Samples.Game1

Inheritance: Microsoft.Xna.Framework.Game
Mostrar archivo Open project: tinco/Farseer-Physics

Public Methods

Method Description
Game1 ( ) : FarseerPhysics.Dynamics

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void

This is called when the game should draw itself.

LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.

Private Methods

Method Description
HandleGamePad ( ) : void
HandleKeyboard ( ) : void

Method Details

Draw() protected method

This is called when the game should draw itself.
protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
return void

Game1() public method

public Game1 ( ) : FarseerPhysics.Dynamics
return FarseerPhysics.Dynamics

LoadContent() protected method

protected LoadContent ( ) : void
return void

Update() protected method

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
return void