containsPoint method

bool containsPoint(
  1. Vector2 point
)

Called to check whether the point is to be counted as within the component It needs to be overridden to have any effect, like it is in PositionComponent.

Implementation

bool containsPoint(Vector2 point) => false;