containsVector method

bool containsVector(
  1. IntVector2 intVector2
)
inherited

Defines if this range contains a specific vector

Implementation

bool containsVector(IntVector2 intVector2) {
  return xRange.contains(intVector2.dx) && yRange.contains(intVector2.dy);
}