C# Class Project290.Physics.Controllers.GravityController

Inheritance: Controller
Exibir arquivo Open project: scastle/Solitude

Public Properties

Property Type Description
Bodies List
Points List

Public Methods

Method Description
AddBody ( Body body ) : void
AddPoint ( Vector2 point ) : void
GravityController ( float strength ) : System
GravityController ( float strength, float maxRadius, float minRadius ) : System
Update ( float dt ) : void

Method Details

AddBody() public method

public AddBody ( Body body ) : void
body Project290.Physics.Dynamics.Body
return void

AddPoint() public method

public AddPoint ( Vector2 point ) : void
point Vector2
return void

GravityController() public method

public GravityController ( float strength ) : System
strength float
return System

GravityController() public method

public GravityController ( float strength, float maxRadius, float minRadius ) : System
strength float
maxRadius float
minRadius float
return System

Update() public method

public Update ( float dt ) : void
dt float
return void

Property Details

Bodies public_oe property

public List Bodies
return List

Points public_oe property

public List Points
return List