public boolean comprobarRectangulos(int x, int y) {
        Rectangle[] rectangulos = new Rectangle[8];
        Rectangle rectanguloOjoIzq = new Rectangle((int) (0.305 * getWidth()), (int) (0.52 * getHeight()), (int) (0.135 * getWidth()), (int) (0.15 * getHeight()));
        Rectangle rectanguloOjoDerch = new Rectangle((int) (0.55 * getWidth()), (int) (0.52 * getHeight()), (int) (0.13 * getWidth()), (int) (0.15 * getHeight()));
        Rectangle rectanguloBoca = new Rectangle((int) (0.40 * getWidth()), (int) (0.70 * getHeight()), (int) (0.20 * getWidth()), (int) (0.13 * getHeight()));
        Rectangle rectanguloBot = new Rectangle((int) (0.21 * getWidth()), (int) (0.85 * getHeight()), (int) (0.60 * getWidth()), (int) (0.13 * getHeight()));
        Rectangle rectanguloBotIzq = new Rectangle((int) (0.25 * getWidth()), (int) (0.80 * getHeight()), (int) (0.10 * getWidth()), (int) (0.13 * getHeight()));
        Rectangle rectanguloBotDer = new Rectangle((int) (0.60 * getWidth()), (int) (0.80 * getHeight()), (int) (0.10 * getWidth()), (int) (0.13 * getHeight()));
        Rectangle rectanguloTopDer = new Rectangle((int) (0.60 * getWidth()), (int) (0.30 * getHeight()), (int) (0.10 * getWidth()), (int) (0.13 * getHeight()));
        Rectangle rectanguloTopIzq = new Rectangle((int) (0.26 * getWidth()), (int) (0.30 * getHeight()), (int) (0.10 * getWidth()), (int) (0.13 * getHeight()));
        
        rectangulos[0] = rectanguloOjoIzq;
        rectangulos[1] = rectanguloOjoDerch;
        rectangulos[2] = rectanguloBoca;
        rectangulos[3] = rectanguloBot;
        rectangulos[4] = rectanguloBotIzq;
        rectangulos[5] = rectanguloBotDer;
        rectangulos[6] = rectanguloTopDer;
        rectangulos[7] = rectanguloTopIzq;
        for (Rectangle r : rectangulos) {
            if (r.contains(x, y)) {
                return true;
            }
        }
        return false;
    }