Globally Constant Speed
class GloballyConstantSpeed<T, P : Position<P>>(reaction: Reaction<*>, maxSpeed: Double) : SpeedSelectionStrategy<T, P>
Similar to ConstantSpeed but takes in consideration the time distribution's rate instead of the reaction's rate.
Functions
Link copied to clipboard
open override fun cloneIfNeeded(destination: Node<T>, reaction: Reaction<T>): GloballyConstantSpeed<T, P>
Link copied to clipboard