increment method

Position increment(
  1. WithXY p
)

Increments the X,Y coordinates by p.

Implementation

Position increment(WithXY p) => incrementXY(p.x, p.y);