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

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

Public Methods

Method Description
Draw ( ) : void
Draw ( SpriteBatch batch, LineBatch lines, Camera2D camera ) : void
Reverse ( ) : void
TheoJansenWalker ( World world, ScreenManager screenManager, Camera2D camera, Vector2 position ) : System.Collections.Generic
TheoJansenWalker ( World world, Vector2 position ) : System.Collections.Generic

Private Methods

Method Description
CreateChassis ( World world, Vector2 pivot, AssetCreator assets ) : void
CreateLeg ( World world, float direction, Vector2 wheelAnchor, int index ) : void
CreateLegTextures ( AssetCreator assets ) : void

Method Details

Draw() public method

public Draw ( ) : void
return void

Draw() public method

public Draw ( SpriteBatch batch, LineBatch lines, Camera2D camera ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
lines FarseerPhysics.Samples.DrawingSystem.LineBatch
camera FarseerPhysics.Samples.ScreenSystem.Camera2D
return void

Reverse() public method

public Reverse ( ) : void
return void

TheoJansenWalker() public method

public TheoJansenWalker ( World world, ScreenManager screenManager, Camera2D camera, Vector2 position ) : System.Collections.Generic
world FarseerPhysics.Dynamics.World
screenManager FarseerPhysics.Samples.ScreenSystem.ScreenManager
camera FarseerPhysics.Samples.ScreenSystem.Camera2D
position Microsoft.Xna.Framework.Vector2
return System.Collections.Generic

TheoJansenWalker() public method

public TheoJansenWalker ( World world, Vector2 position ) : System.Collections.Generic
world FarseerPhysics.Dynamics.World
position Microsoft.Xna.Framework.Vector2
return System.Collections.Generic