C# Class FarseerPhysics.Samples.ScreenSystem.PhysicsGameScreen

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

Public Properties

Property Type Description
Camera Camera2D

Protected Properties

Property Type Description
DebugView FarseerPhysics.DebugView.DebugViewXNA
HiddenBody FarseerPhysics.Dynamics.Body
World FarseerPhysics.Dynamics.World

Public Methods

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

Protected Methods

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

Private Methods

Method Description
EnableOrDisableFlag ( DebugViewFlags flag ) : void
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

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

PhysicsGameScreen() protected method

protected PhysicsGameScreen ( ) : 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 public_oe property

public Camera2D,FarseerPhysics.Samples.ScreenSystem Camera
return Camera2D

DebugView protected_oe property

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

HiddenBody protected_oe property

protected Body,FarseerPhysics.Dynamics HiddenBody
return FarseerPhysics.Dynamics.Body

World protected_oe property

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