withRelativeY

fun withRelativeY(deltaY: Int): Position3D

Creates a new Position3D object representing a position on the same x and y, but with an y offset by the supplied deltaY. Calling this method with deltaY 0 will returnThis this. A positive deltaY will be added, a negative will be subtracted from the original x.

Sources

(source)
Link copied to clipboard