C# Class Project290.Physics.Factories.LinkFactory

Afficher le fichier Open project: scastle/Solitude

Méthodes publiques

Méthode 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 méthode

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.
Résultat Project290.Physics.Common.Path