operator + method

CellOffset operator +(
  1. CellOffset other
)

Implementation

CellOffset operator +(CellOffset other) {
  return CellOffset(x + other.x, y + other.y);
}