isAfterOrSame method

bool isAfterOrSame(
  1. Position another
)

Implementation

bool isAfterOrSame(Position another) {
  return another.y < y || (another.y == y && another.x <= x);
}