C# Class FarseerPhysics.Samples.Demos.Prefabs.Ragdoll

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

Public Methods

Method Description
Draw ( ) : void
Draw ( SpriteBatch batch ) : void
Ragdoll ( World world, ScreenManager screenManager, Vector2 position ) : FarseerPhysics.Common
Ragdoll ( World world, Vector2 position ) : FarseerPhysics.Common

Private Methods

Method Description
CreateBody ( World world, Vector2 position ) : void
CreateGFX ( AssetCreator assets ) : void
CreateJoints ( World world ) : void

Method Details

Draw() public method

public Draw ( ) : void
return void

Draw() public method

public Draw ( SpriteBatch batch ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Ragdoll() public method

public Ragdoll ( World world, ScreenManager screenManager, Vector2 position ) : FarseerPhysics.Common
world FarseerPhysics.Dynamics.World
screenManager FarseerPhysics.Samples.ScreenSystem.ScreenManager
position Microsoft.Xna.Framework.Vector2
return FarseerPhysics.Common

Ragdoll() public method

public Ragdoll ( World world, Vector2 position ) : FarseerPhysics.Common
world FarseerPhysics.Dynamics.World
position Microsoft.Xna.Framework.Vector2
return FarseerPhysics.Common