public boolean intersect(int playerPositionX, int playerPositionY, int playerWidth) {
	int obsRightSide = SIZE + positionX;
	int obsBottomSide = SIZE + positionY;
	int playerRightSide = playerWidth + playerPositionX;

	if (obsRightSide <= 0 || obsBottomSide <= 0) {
	    return false;
	}

	else if ((playerRightSide >= positionX && playerPositionX < obsRightSide) &&
		 (playerPositionY >= positionY && playerPositionY < obsBottomSide)){
	    return true;
	}
	return false;
    }