src/jtwod/engine/metrics/Vector.java
public final boolean isInsideBoundsOf(Shape<? extends Engine> shape)
    {
        return ! (
                this.x < shape.getPosition().x ||
                this.y < shape.getPosition().y ||
                this.x > shape.getPosition().x + shape.getSize().getWidth() ||
                this.y > shape.getPosition().y + shape.getSize().getHeight()
        );
    }
/**
     * Check if this Vector is inside the bounds of a Shape.
     *
     * @param shape
     *
     * @return boolean
     */
Check if this Vector is inside the bounds of a Shape.

@param shape

@return boolean
Check if this Vector is inside the bounds of a Shape . @param shape @return boolean
public final boolean isInsideBoundsOf(Shape<? extends Engine> shape)
    {
        return ! (
                this.x < shape.getPosition().x ||
                this.y < shape.getPosition().y ||
                this.x > shape.getPosition().x + shape.getSize().getWidth() ||
                this.y > shape.getPosition().y + shape.getSize().getHeight()
        );
    }
public final boolean isInsideBoundsOf ( Shape < ? extends Engine > shape ) { return ! ( this . x < shape . getPosition ( ) . x || this . y < shape . getPosition ( ) . y || this . x > shape . getPosition ( ) . x + shape . getSize ( ) . getWidth ( ) || this . y > shape . getPosition ( ) . y + shape . getSize ( ) . getHeight ( ) ) ; }
Check if this Vector is inside the bounds of a Shape.
Check if this Vector is inside the bounds of a Shape .