deltaY

public abstract Float deltaY(Float y)

Calculates the vertical difference between the current y-coordinate and the target y-coordinate.

Return

The calculated value.

Parameters

y

The target y-coordinate.


public abstract Float deltaY(ImmutablePosition position)

Calculates the difference between the current y and the target position's y-coordinate.

Return

The calculated value.

Parameters

position

The target position.