C# Class Aiv.Fast2D.Example.Rope

Inheritance: Segment
Datei anzeigen Open project: aiv01/aiv-fast2d Class Usage Examples

Public Methods

Method Description
Rope ( float maxLength, float lineWidth ) : System
SetDestination ( System.Vector2 destination ) : void
SetDestination ( float x, float y ) : void
UpdatePhysics ( Window window ) : void

Method Details

Rope() public method

public Rope ( float maxLength, float lineWidth ) : System
maxLength float
lineWidth float
return System

SetDestination() public method

public SetDestination ( System.Vector2 destination ) : void
destination System.Vector2
return void

SetDestination() public method

public SetDestination ( float x, float y ) : void
x float
y float
return void

UpdatePhysics() public method

public UpdatePhysics ( Window window ) : void
window Window
return void