Inheritance
System.Object
GravitySimulation
public class GravitySimulation : Simulation
Constructors
Declaration
public GravitySimulation(float acceleration, float distance, float endDistance, float velocity)
Parameters
Type |
Name |
Description |
System.Single |
acceleration |
|
System.Single |
distance |
|
System.Single |
endDistance |
|
System.Single |
velocity |
|
Methods
Declaration
public override float dx(float time)
Parameters
Type |
Name |
Description |
System.Single |
time |
|
Returns
Type |
Description |
System.Single |
|
Overrides
Declaration
public override bool isDone(float time)
Parameters
Type |
Name |
Description |
System.Single |
time |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override float x(float time)
Parameters
Type |
Name |
Description |
System.Single |
time |
|
Returns
Type |
Description |
System.Single |
|
Overrides