C# Class TugOfBaby.Ragdoll

显示文件 Open project: martinvium/ngj2012

Public Methods

Method Description
Draw ( SpriteBatch batch ) : void
Ragdoll ( World world, Body head, RenderManager renderMan ) : FarseerPhysics.Common

Private Methods

Method Description
CreateBody ( World world, Vector2 position, RenderManager renderMan ) : void
CreateJoints ( World world ) : void
ToDisplayUnits ( Vector2 pos ) : Vector2

Method Details

Draw() public method

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

Ragdoll() public method

public Ragdoll ( World world, Body head, RenderManager renderMan ) : FarseerPhysics.Common
world FarseerPhysics.Dynamics.World
head FarseerPhysics.Dynamics.Body
renderMan RenderManager
return FarseerPhysics.Common