containsPoint method
Checks whether the ShapeHitbox contains the point
, where point
is
a position in the global coordinate system of your game.
Implementation
@override
bool containsPoint(Vector2 point) {
return _possiblyContainsPoint(point) && super.containsPoint(point);
}