public override bool CollidesWith(/* final */ IShape pOtherShape) { if (pOtherShape is RectangularShape) { /* final */ RectangularShape pOtherRectangularShape = (RectangularShape)pOtherShape; return(RectangularShapeCollisionChecker.CheckCollision(this, pOtherRectangularShape)); } else { return(false); } }
public override bool Contains(/* final */ float pX, /* final */ float pY) { return(RectangularShapeCollisionChecker.CheckContains(this, pX, pY)); }