public void checkRutor()
    {
        for(int i = 0;i < rutor.length && rutor[i] != null;i++)
        {
            if(rutor[i].inside(BoJMouseListener.getX(),BoJMouseListener.getY()))
            {
                rutor[i].increaseAntalTryck();
            }
        }
        if(BoJMouseListener.getX() != BoJMouseListener.DEAD && BoJMouseListener.getY() != BoJMouseListener.DEAD)
        {
            actRutor();
            BoJMouseListener.setX(BoJMouseListener.DEAD);
            BoJMouseListener.setY(BoJMouseListener.DEAD);
        }
    }