offset method

void offset(
  1. num dx,
  2. num dy
)

Implementation

void offset(num dx, num dy) {
  x += dx;
  y += dy;
}