C# Class FarseerPhysics.Samples.ScreenSystem.PhysicsDemoScreen

Inheritance: GameScreen
Show file Open project: tinco/Farseer-Physics Class Usage Examples

Protected Properties

Property Type Description
Camera Camera2D
DebugView FarseerPhysics.DebugView.DebugViewXNA
World FarseerPhysics.Dynamics.World

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
GetDetails ( ) : string
GetTitle ( ) : string
HandleInput ( InputHelper input, GameTime gameTime ) : void
LoadContent ( ) : void
Update ( GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void

Protected Methods

Method Description
PhysicsDemoScreen ( ) : System
SetUserAgent ( Body agent, float force, float torque ) : void

Private Methods

Method Description
HandleCamera ( InputHelper input, GameTime gameTime ) : void
HandleCursor ( InputHelper input ) : void
HandleUserAgent ( InputHelper input ) : void

Method Details

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

GetDetails() public method

public GetDetails ( ) : string
return string

GetTitle() public method

public GetTitle ( ) : string
return string

HandleInput() public method

public HandleInput ( InputHelper input, GameTime gameTime ) : void
input InputHelper
gameTime Microsoft.Xna.Framework.GameTime
return void

LoadContent() public method

public LoadContent ( ) : void
return void

PhysicsDemoScreen() protected method

protected PhysicsDemoScreen ( ) : System
return System

SetUserAgent() protected method

protected SetUserAgent ( Body agent, float force, float torque ) : void
agent FarseerPhysics.Dynamics.Body
force float
torque float
return void

Update() public method

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

Property Details

Camera protected property

protected Camera2D,FarseerPhysics.Samples.ScreenSystem Camera
return Camera2D

DebugView protected property

protected DebugViewXNA,FarseerPhysics.DebugView DebugView
return FarseerPhysics.DebugView.DebugViewXNA

World protected property

protected World,FarseerPhysics.Dynamics World
return FarseerPhysics.Dynamics.World