plus
Returns a new Position which is the sum of x
and y
in both Positions. so Position(x = 1, y = 1).plus(Position(x = 2, y = 2))
will be Position(x = 3, y = 3)
.
Sources
(source)
Link copied to clipboard