C# Class PsmFramework.Engines.CyclonePhysics2d.Forces.AnchoredSpring2d

Inheritance: ForceGenerator2dBase
Mostra file Open project: artwallace/PsmFramework

Public Methods

Method Description
AnchoredSpring2d ( Particle2dBase particle, System.Vector2 anchor, System.Single springConstant, System.Single restLength ) : System
UpdateForce ( System.Single duration ) : void

Method Details

AnchoredSpring2d() public method

public AnchoredSpring2d ( Particle2dBase particle, System.Vector2 anchor, System.Single springConstant, System.Single restLength ) : System
particle Particle2dBase
anchor System.Vector2
springConstant System.Single
restLength System.Single
return System

UpdateForce() public method

public UpdateForce ( System.Single duration ) : void
duration System.Single
return void