alchemist-interfaces / it.unibo.alchemist.model.interfaces / Position / plus

plus

abstract operator fun plus(other: P): P

Considers both positions as vectors, and sums them.

Parameters

other - the other position

Return
a new {@link Position} that is the sum of the two.