PhysicsUpdate
class PhysicsUpdate<T>(val environment: Dynamics2DEnvironment<T>, val timeDistribution: TimeDistribution<T> = DiracComb(DEFAULT_RATE)) : GlobalReaction<T>
A global Reaction responsible for updating the physics of an Dynamics2DEnvironment.
Constructors
Link copied to clipboard
constructor(environment: Dynamics2DEnvironment<T>, timeDistribution: TimeDistribution<T> = DiracComb(DEFAULT_RATE))
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This method is called when the environment has completed its initialization. Can be used by this reaction to compute its next execution time - in case such computation requires an inspection of the environment.
Link copied to clipboard