C# Class Project290.Physics.Factories.LinkFactory

ファイルを表示 Open project: scastle/Solitude

Public Methods

Method Description
CreateChain ( World world, Vector2 start, Vector2 end, float linkWidth, float linkHeight, bool fixStart, bool fixEnd, int numberOfLinks, float linkDensity ) : Path

Creates a chain.

Method Details

CreateChain() public static method

Creates a chain.
public static CreateChain ( World world, Vector2 start, Vector2 end, float linkWidth, float linkHeight, bool fixStart, bool fixEnd, int numberOfLinks, float linkDensity ) : Path
world Project290.Physics.Dynamics.World The world.
start Microsoft.Xna.Framework.Vector2 The start.
end Microsoft.Xna.Framework.Vector2 The end.
linkWidth float The width.
linkHeight float The height.
fixStart bool if set to true [fix start].
fixEnd bool if set to true [fix end].
numberOfLinks int The number of links.
linkDensity float The link density.
return Project290.Physics.Common.Path