C# Class FarseerPhysics.Samples.ScreenSystem.PhysicsGameScreen

Inheritance: GameScreen
Afficher le fichier Open project: tinco/Farseer-Physics Class Usage Examples

Méthodes publiques

Свойство Type Description
Camera Camera2D

Protected Properties

Свойство Type Description
DebugView FarseerPhysics.DebugView.DebugViewXNA
HiddenBody FarseerPhysics.Dynamics.Body
World FarseerPhysics.Dynamics.World

Méthodes publiques

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

Méthodes protégées

Méthode Description
PhysicsGameScreen ( ) : System
SetUserAgent ( Body agent, float force, float torque ) : void

Private Methods

Méthode Description
EnableOrDisableFlag ( DebugViewFlags flag ) : void
HandleCamera ( InputHelper input, GameTime gameTime ) : void
HandleCursor ( InputHelper input ) : void
HandleUserAgent ( InputHelper input ) : void

Method Details

Draw() public méthode

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

HandleInput() public méthode

public HandleInput ( InputHelper input, GameTime gameTime ) : void
input InputHelper
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

LoadContent() public méthode

public LoadContent ( ) : void
Résultat void

PhysicsGameScreen() protected méthode

protected PhysicsGameScreen ( ) : System
Résultat System

SetUserAgent() protected méthode

protected SetUserAgent ( Body agent, float force, float torque ) : void
agent FarseerPhysics.Dynamics.Body
force float
torque float
Résultat void

Update() public méthode

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

Property Details

Camera public_oe property

public Camera2D,FarseerPhysics.Samples.ScreenSystem Camera
Résultat Camera2D

DebugView protected_oe property

protected DebugViewXNA,FarseerPhysics.DebugView DebugView
Résultat FarseerPhysics.DebugView.DebugViewXNA

HiddenBody protected_oe property

protected Body,FarseerPhysics.Dynamics HiddenBody
Résultat FarseerPhysics.Dynamics.Body

World protected_oe property

protected World,FarseerPhysics.Dynamics World
Résultat FarseerPhysics.Dynamics.World