src/jtwod/engine/drawable/Shape.java
public final boolean containsVector(Vector vector)
    {
        return (
            vector.getX() >= this.position.getX() &&
            vector.getX() <= this.position.getX() + this.size.getWidth() &&
            vector.getY() >= this.position.getY() &&
            vector.getY() <= this.position.getY() + this.size.getHeight()
        );
    }
/**
     * Check if a Vector is within this Shape.
     * @param vector The Vector to use.
     */
Check if a Vector is within this Shape.
@param vector The Vector to use.
Check if a Vector is within this Shape . @param vector The Vector to use .
public final boolean containsVector(Vector vector)
    {
        return (
            vector.getX() >= this.position.getX() &&
            vector.getX() <= this.position.getX() + this.size.getWidth() &&
            vector.getY() >= this.position.getY() &&
            vector.getY() <= this.position.getY() + this.size.getHeight()
        );
    }
public final boolean containsVector ( Vector vector ) { return ( vector . getX ( ) >= this . position . getX ( ) && vector . getX ( ) <= this . position . getX ( ) + this . size . getWidth ( ) && vector . getY ( ) >= this . position . getY ( ) && vector . getY ( ) <= this . position . getY ( ) + this . size . getHeight ( ) ) ; }
Check if a Vector is within this Shape.
Check if a Vector is within this Shape .